ApprovalsError
Defined in: core/dist/index-QWdcwE6y.d.ts:889
Thrown by approvals modules with a machine-readable ApprovalsErrorReason.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ApprovalsError(
message,reason,details?):ApprovalsError
Defined in: core/dist/index-QWdcwE6y.d.ts:894
Parameters
Section titled “Parameters”message
Section titled “message”string
reason
Section titled “reason”details?
Section titled “details?”Record<string, unknown>
Returns
Section titled “Returns”ApprovalsError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”details
Section titled “details”
readonlydetails:Record<string,unknown>
Defined in: core/dist/index-QWdcwE6y.d.ts:893
Extra context for logs (never secrets).
reason
Section titled “reason”
readonlyreason:ApprovalsErrorReason
Defined in: core/dist/index-QWdcwE6y.d.ts:891
Machine-readable reason.