Table of Contents

Class IpcException

Namespace
Foundation.Data.Doublets.Cli.Ipc
Assembly
Foundation.Data.Doublets.Cli.dll

A failure of an IPC transport (issue #140); the message matches the Rust implementation.

public sealed class IpcException : IOException, ISerializable
Inheritance
IpcException
Implements
Inherited Members

Constructors

IpcException()

Creates an Other error.

public IpcException()

IpcException(IpcErrorKind, string, Exception?)

Creates an error of kind.

public IpcException(IpcErrorKind kind, string message, Exception? inner = null)

Parameters

kind IpcErrorKind
message string
inner Exception

IpcException(string)

Creates an Other error.

public IpcException(string message)

Parameters

message string

IpcException(string, Exception)

Creates an Other error.

public IpcException(string message, Exception inner)

Parameters

message string
inner Exception

Properties

Kind

What went wrong.

public IpcErrorKind Kind { get; }

Property Value

IpcErrorKind

Methods

IsTimeout(Exception?)

Whether error or one of its inner errors is a timeout.

public static bool IsTimeout(Exception? error)

Parameters

error Exception

Returns

bool