typedrequest/ts/typedrequest.classes.typedresponseerror.ts
2022-03-24 20:02:58 +01:00

11 lines
276 B
TypeScript

import * as plugins from './typedrequest.plugins.js';
export class TypedResponseError {
public errorText: string;
public errorData: any;
constructor(errorTextArg: string, errorDataArg?: any) {
this.errorText = errorTextArg;
this.errorData = errorDataArg;
}
}