typedrequest/ts/typedrequest.classes.typedresponseerror.ts

10 lines
272 B
TypeScript
Raw Normal View History

2020-06-16 15:03:10 +00:00
import * as plugins from './typedrequest.plugins';
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;
}
}