feat(MED-85): create logs of sending order to medipost success/error

This commit is contained in:
2025-08-25 12:22:29 +03:00
parent 828f32ee81
commit da8b5aa59f
3 changed files with 57 additions and 18 deletions

View File

@@ -0,0 +1,9 @@
export class MedipostValidationError extends Error {
response: string;
constructor(response: string) {
super('Invalid Medipost response');
this.name = 'MedipostValidationError';
this.response = response;
}
}