Auto-commit 2026-04-29 16:31

This commit is contained in:
2026-04-29 16:31:27 -04:00
parent e8687bb6b2
commit 0495ee5bd2
19691 changed files with 3272886 additions and 138 deletions

View File

@@ -0,0 +1,30 @@
interface ValidationError {
detail: string;
pointer: string;
}
interface TwilioServiceErrorResponse {
type: string;
title: string;
status: number;
detail?: string;
instance?: string;
code: number;
errors?: ValidationError[];
}
export default class TwilioServiceException extends Error implements TwilioServiceErrorResponse {
type: string;
title: string;
status: number;
detail?: string;
instance?: string;
code: number;
errors?: ValidationError[];
constructor(response: any);
/**
* Check if a response body matches the RFC-9457 structure
* @param body - The response body to check
* @returns true if the body has the required RFC-9457 fields
*/
static isRFC9457Response(body: any): boolean;
}
export {};