Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | 1x 306x 306x 306x 1x 92x 92x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | // tslint:disable:max-classes-per-file export default class ClientError extends Error { public code: string; private context?: any; constructor(m: string, code: string, context?: any) { super(m); this.code = code; this.context = context; } } // tslint:disable-next-line:max-classes-per-file export class BaseError extends Error { private context?: any; constructor(m: string, context?: any) { super(m); this.context = context; } } /** * the query limit parameter must be a number larger than 0 */ export class QueryLimitError extends BaseError { }; /** * the query offset parameter must be a number larger than 0 */ export class QueryOffsetError extends BaseError { }; /** * user group already exists */ export class UserGroupAlreadyExistsError extends BaseError { }; /** * user group does not exist */ export class UserGroupDoesNotExistError extends BaseError { }; /** * user group cloud not be deleted */ export class UserGroupDeletionFailedError extends BaseError { }; /** * user not found */ export class UserNotFoundError extends BaseError { }; /** * user already exists */ export class UserAlreadyExistsError extends BaseError { }; /** * error creating user */ export class UserCreateError extends BaseError { }; /** * error updating user */ export class UserUpdateError extends BaseError { }; /** * Error sending user welcome email */ export class UserResendWelcomeEmailError extends BaseError { }; /** * the service response is invalid */ export class InvalidServiceResponseFormatError extends BaseError { }; /** * the service response is invalid */ export class InsufficientPrivilegesError extends BaseError { }; /** * operation failed */ export class OperationFailedError extends BaseError { }; /** * the command is already executed */ export class CommandAlreadyExecutedError extends BaseError { }; |