UNPKG

@project-rwc/rwc

Version:

Common types & utilities for Project RWC

26 lines (22 loc) 789 B
export const jobPipelineStepConfigResErrorCodes = { /** * Used when there is some kind of error while processing the request that is not * better described by another error code. */ InternalNodeError: 'InternalNodeError', /** * The user made a bad or malformed request which the node doesn't know how to * interpret. */ BadRequest: 'BadRequest', /** * A network error occurred. */ NetError: 'NetError', /** * The user provided insufficient credentials to preform the requested action. */ NotAuthorized: 'NotAuthorized' } as const; export type JobPipelineStepConfigResErrorCode = typeof jobPipelineStepConfigResErrorCodes[keyof typeof jobPipelineStepConfigResErrorCodes];