Skip to main content

CodeError

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

Properties#

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

Related#

  • Parent: Entity
  • Descendants: None

Notes#

  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.