7.3The `error` object
Inside an error handler you can inspect:
error.errorType
error.description
error.detailedDescription
error.cause
Conceptually:
{
type: error.errorType as String,
message: error.description
}
Don't memorize every property.
Know that:
errorgives you structured information about the failure.