typedrequest/ts/typedrequest.classes.typedresponseerror.ts

11 lines
263 B
TypeScript
Raw Normal View History

2024-02-20 16:40:30 +00:00
import * as plugins from './plugins.js';
2020-06-16 15:03:10 +00:00
export class TypedResponseError {
public errorText: string;
public errorData: any;
2020-06-16 15:17:46 +00:00
constructor(errorTextArg: string, errorDataArg?: any) {
2020-06-16 15:03:10 +00:00
this.errorText = errorTextArg;
this.errorData = errorDataArg;
}
2020-06-25 23:53:05 +00:00
}