PowerKeys Scripting API
    Preparing search index...

    Interface HttpSendRequestError

    Error shape exposed when HTTP.SendRequest or the transport phase of HTTP.RequestJson rejects.

    interface HttpSendRequestError {
        code: HttpSendRequestErrorCode;
        capability?: "network";
        target?: string;
        name: string;
        message: string;
        stack?: string;
    }

    Hierarchy

    • Error
      • HttpSendRequestError
    Index

    Stable machine-readable error code.

    capability?: "network"

    Denied capability. Present for permission_denied.

    target?: string

    Lowercase host-only permission target. Present for permission_denied.

    name: string
    message: string
    stack?: string