constructor({ bucket, message, cause }: { bucket: string; message: string, cause?: Error }) {
    super(message);

    if (typeof Error.captureStackTrace === 'function') {
      Error.captureStackTrace(this, this.constructor);