Small formatting
MODIFY
src/exception/AppError.ts
src/exception/AppError.ts
@@ -8,9 +8,16 @@ import UserToken from '../types/UserToken';
export default class AppError extends Error {
constructor(readonly params: {
- source: string; message: string; errorCode: HTTPError | StatusCodes; module: string;
- method: string; user?: User | string | UserToken; actionOnUser?: User | string | UserToken;
- action?: ServerAction; detailedMessages?: any; ocpiError?: OCPIStatusCode; oicpError?: OICPStatusCode;
+ source: string;
+ message: string;
+ errorCode: HTTPError | StatusCodes;
+ module: string;
+ method: string; user?: User | string | UserToken;
+ actionOnUser?: User | string | UserToken;
+ action?: ServerAction;
+ detailedMessages?: any;
+ ocpiError?: OCPIStatusCode;
+ oicpError?: OICPStatusCode;
}) {
super(params.message);
}

Small formatting