Skip to main content

ErrorResponse

error object
typestringrequired

Machine-readable error type. Always branch on this field — never on message. TypeScript SDK maps this directly to MemintelError.type.

Possible values: [syntax_error, type_error, semantic_error, reference_error, parameter_error, graph_error, execution_error, execution_timeout, auth_error, not_found, conflict, rate_limit_exceeded, bounds_exceeded, action_binding_failed]

messagestringrequired
locationstringnullable
suggestionstringnullable
ErrorResponse
{
"error": {
"type": "syntax_error",
"message": "string",
"location": "string",
"suggestion": "string"
}
}