import { Errors } from './types/types';

// エラーコードとメッセージ対応表
export const errors: Errors = {
  E009999: 'Internal Server Error.',
  E000101: 'Token invalid format Error.',
  E000102: 'Token expired Error.',
  E000103: 'Token not before Error',
  E000104: 'Token invalid signature Error.',
  E000105: 'Token invalid issuer Error.',
  E000106: 'Token invalid algorithm Error.',
  E000107: 'Token is not exist Error.',
  E000108: 'Token authority failed Error.',
  E000301: 'ADB2C request limit exceeded Error',
  E010001: 'Param invalid format Error.',
  E010201: 'Email not verified user Error.',
  E010202: 'Email already verified user Error.',
  E010203: 'Administrator Permissions Error.',
  E010204: 'User not Found Error.',
  E010205: 'Role from DB is unexpected value Error.',
  E010206: 'Tier from DB is unexpected value Error.',
  E010301: 'This email user already created Error',
  E010302: 'This AuthorId already used Error',
  E010401: 'This PoNumber already used Error',
  E010501: 'Account not Found Error.',
  E010601: 'Task is not Editable Error',
  E010602: 'No task edit permissions Error',
  E010603: 'Task not found Error.',
  E010701: 'File not found in Blob Storage Error.',
  E010801: 'License not exist Error',
  E010802: 'License already activated Error',
};
