Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

734 B
Raw Blame
export class NotImplementedError extends Error {
  constructor(message?: string) {
    super(message);

    this.name = 'NotImplementedError';
  }
}

export class InvalidActionError extends Error {
  constructor(action: { type: string }) {
    super(`Unhandled action type "${action.type}"`);

    this.name = 'InvalidActionError';
  }
}

export class DecryptionAbortedError extends Error {
  constructor(message?: string) {
    super(message);
    this.name = 'DecryptionAbortedError';
  }
}

export class DocumentStorageServiceError extends Error {
  statusCode: number;
  constructor(statusCode: number, message?: string) {
    super(message);
    this.statusCode = statusCode;
    this.name = 'DocumentStorageServiceError';
  }
}