Skip to main content


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


Name@idTypeDescriptionInherited from
errorMessagestencila:errorMessagestringThe error message or brief description of the error.CodeError
typeschema:type'CodeError'The name of the type.Entity
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


  • Parent: Entity
  • Descendants: None


  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.
  2. Available as JSON-LD.
  3. Available as JSON Schema.
  4. This documentation was generated from CodeError.schema.yaml.