Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

305 B
Raw Blame
export class ChannelError extends Error {
  constructor(public readonly code: string, public readonly status = 400) {
    super(code);
  }
}

export function channelError(error: unknown): ChannelError {
  return error instanceof ChannelError ? error : new ChannelError("channel_operation_failed", 400);
}