10 lines
227 B
TypeScript
10 lines
227 B
TypeScript
export class MedipostValidationError extends Error {
|
|
response: string;
|
|
|
|
constructor(response: string) {
|
|
super('Invalid Medipost response');
|
|
this.name = 'MedipostValidationError';
|
|
this.response = response;
|
|
}
|
|
}
|