47 lines · 1.3 KB · TypeScript
RawDownload
import * as Data from "effect/Data"; export class SshHostDiscoveryError extends Data.TaggedError("SshHostDiscoveryError")<{  readonly message: string;  readonly cause: unknown;}> {} export class SshInvalidTargetError extends Data.TaggedError("SshInvalidTargetError")<{  readonly message: string;}> {} export class SshCommandError extends Data.TaggedError("SshCommandError")<{  readonly message: string;  readonly command: readonly string[];  readonly exitCode: number | null;  readonly stderr: string;  readonly stdout?: string;  readonly cause?: unknown;}> {} export class SshLaunchError extends Data.TaggedError("SshLaunchError")<{  readonly message: string;  readonly stdout: string;  readonly cause?: unknown;}> {} export class SshPairingError extends Data.TaggedError("SshPairingError")<{  readonly message: string;  readonly stdout: string;  readonly cause?: unknown;}> {} export class SshHttpBridgeError extends Data.TaggedError("SshHttpBridgeError")<{  readonly message: string;  readonly status?: number;  readonly cause?: unknown;}> {} export class SshReadinessError extends Data.TaggedError("SshReadinessError")<{  readonly message: string;  readonly cause?: unknown;}> {} export class SshPasswordPromptError extends Data.TaggedError("SshPasswordPromptError")<{  readonly message: string;  readonly cause?: unknown;}> {}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t