a writ directed to a lower court by an appellate court requiring the submission of the record of a legal action for review, in order to ascertain whether or not errors have been committed and so that the judgment may be upheld, reversed, or corrected