| 37 | }; |
| 38 | |
| 39 | export class MultiMessageError extends Error { |
| 40 | constructor(public messages: string[]) { |
| 41 | super(messages.join('\n')); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | export const BUCKET_NAME_REGEX = /^airnode-[a-f0-9]{12}$/; |
| 46 | export const generateBucketName = () => `airnode-${randomBytes(6).toString('hex')}`; |
nothing calls this directly
no outgoing calls
no test coverage detected