Skip to content

Commit

Permalink
fix(CodeError): Message required; rename kind to errorType
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome authored and Nokome Bentley committed Jan 21, 2020
1 parent 9237114 commit 0ab58c0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions schema/CodeError.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ status: unstable
category: code
description: An error that occured when parsing, compiling or executing some Code.
properties:
kind:
# not called `type` because this is a conflict or not supported by Python
'@id': stencila:errorKind
errorType:
'@id': stencila:errorType
description: The type of error.
type: string
message:
Expand All @@ -20,4 +19,4 @@ properties:
description: Stack trace leading up to the error.
type: string
required:
- kind
- message

0 comments on commit 0ab58c0

Please sign in to comment.