basalt / teams/src / InsufficientTeamRoleError
Class: InsufficientTeamRoleError
Defined in: teams/src/teams.ts:38
The acting user's role is below what the action requires.
Extends
Constructors
Constructor
> new InsufficientTeamRoleError(required): InsufficientTeamRoleError
Defined in: teams/src/teams.ts:40
Parameters
required
string
Returns
InsufficientTeamRoleError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
Inherited from
status
> readonly status: 403 = 403
Defined in: teams/src/teams.ts:39