Skip to content

Commit c4069b0

Browse files
committed
ARSN-556: add MalformedTrailerError
1 parent d47c434 commit c4069b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/errors/arsenalErrors.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,12 @@ export const MalformedXML: ErrorFormat = {
285285
'The XML you provided was not well-formed or did not validate against our published schema.',
286286
};
287287

288+
export const MalformedTrailerError: ErrorFormat = {
289+
code: 400,
290+
description:
291+
'The request contained trailing data that was not well-formed or did not conform to our published schema.',
292+
};
293+
288294
export const MaxMessageLengthExceeded: ErrorFormat = {
289295
code: 400,
290296
description: 'Your request was too big.',

0 commit comments

Comments
 (0)