UNPKG

@telstra/iot-connectivity-manager

Version:
32 lines (31 loc) 803 B
import { ErrorCode } from '@telstra/core'; export class ServiceErrorCode extends ErrorCode { static InvalidSchema = { message: 'Invalid schema', code: 20001, }; static MissingAttribute = { message: 'Missing attribute', code: 20002, }; static InvalidAttribute = { message: 'Invalid attribute', code: 20003, }; static InvalidIMSI = { message: 'Invalid IMSI value', code: 20007, }; static NotFoundIMSI = { message: 'Not Found IMSI', code: 20008, }; static ICMServiceUnavailable = { message: 'Service is currently unavailable', code: 20009, }; static ICMServiceUnknownError = { message: 'An unknown error has occurred.', code: 20010, }; }