Skip to main content

Code Error

An error that occurred when parsing, compiling or executing a Code node.

This schema type is marked as unstable ⚠️ and is subject to change.


Name@idTypeDescriptionInherited from
errorMessagestencila:errorMessagestringThe error message or brief description of the error.CodeError
errorTypestencila:errorTypestringThe type of error e.g. "SyntaxError", "ZeroDivisionError". See note 1.CodeError
idschema:idstringThe identifier for this item.Entity
metastencila:metaobjectMetadata associated with this item.Entity
stackTracestencila:stackTracestringStack trace leading up to the error.CodeError


  1. errorType : Many languages have the concept of alternative types of errors. For example, Python has various classes of exceptions. This property is intended to be used for storing these type names as additional information that maybe useful to the user attempting to resolve the error.
  • Parent: Entity
  • Descendants: None

Available as


This documentation was generated from CodeError.schema.yaml.