Class: ApprovalGateDisabledError
Defined in: packages/core/src/application/errors/approval-gate-disabled-error.ts:7
Thrown when an approval operation is attempted but the corresponding approval gate is disabled in the active configuration.
Extends
Constructors
Constructor
new ApprovalGateDisabledError(
gate):ApprovalGateDisabledError
Defined in: packages/core/src/application/errors/approval-gate-disabled-error.ts:18
Creates a new ApprovalGateDisabledError instance.
Parameters
gate
"spec" | "signoff"
The gate that is disabled ('spec' or 'signoff')
Returns
ApprovalGateDisabledError
Overrides
Properties
cause?
optionalcause?:unknown
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
message
message:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
name
name:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
stack?
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
stackTraceLimit
staticstackTraceLimit:number
Defined in: node_modules/.pnpm/@types+node@22.19.11/node_modules/@types/node/globals.d.ts:68
The Error.stackTraceLimit property specifies the number of stack frames
collected by a stack trace (whether generated by new Error().stack or
Error.captureStackTrace(obj)).
The default value is 10 but may be set to any valid JavaScript number. Changes
will affect any stack trace captured after the value has been changed.
If set to a non-number value, or set to a negative number, stack traces will not capture any frames.