Kind: Function
Source: atloria-monorepo/apps/api/src/scim/scim.constants.ts
Build a SCIM error response body (RFC 7644 §3.12). status is a STRING per
the spec. scimType narrows client behavior (e.g. 'uniqueness' on a 409).
Signature
tsfunction scimError(status: number, detail: string, scimType: string): { schemas: string[]; detail: string; status: string; scimType?: string }
Parameters
| Name | Type |
|---|---|
status | number |
detail | string |
scimType | string |
Returns: { schemas: string[]; detail: string; status: string; scimType?: string }
Was this page helpful?