Errors
Errors in TypeDB keep track of their cause, and the location of the error in the query. Console and Studio will display the full stck from the lowest level cause, such as a TypeQL syntax error, to the ultimate outcome such as the transaction being closed as a result of an invalid write.
test::schema>> define person sub entity; Error executing command: 'define person sub entity;' [TQL0] [TQL03] TypeQL Error: There is a syntax error parsing error: expected identifier Near 1:18: --> define person sub entity; ^ Caused: Error in usage of TypeQL. Caused: [TSV7] Query parsing failed.