Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

328 B
Raw Blame
/** The API's stable code for requests to an archived workspace. */
export const WORKSPACE_ARCHIVED_CODE = "WORKSPACE_ARCHIVED";

export function isWorkspaceArchivedError(error: unknown) {
  return (
    typeof error === "object" &&
    error !== null &&
    "code" in error &&
    error.code === WORKSPACE_ARCHIVED_CODE
  );
}