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.

Properties#

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

Notes#

  1. errorType : !array('Many languages have the concept of alternative types of errors. For example, Python has various ')!array('classes of exceptions')!array('. 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.')

Related#

  • Parent: Entity
  • Descendants: None

Available as#

Source#

This documentation was generated from CodeError.schema.yaml.