Gordian Envelope TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Interface ResponseBehavior

    Interface that defines the behavior of a response.

    interface ResponseBehavior {
        withResult(result: EnvelopeEncodableValue): Response;
        withError(error: EnvelopeEncodableValue): Response;
        isOk(): boolean;
        isErr(): boolean;
        id(): ARID | undefined;
        result(): Envelope;
        error(): Envelope;
        toEnvelope(): Envelope;
    }

    Implemented by

    Index

    Methods