9 references to EncodeFailure
Aspire.Hosting.Native.Server (9)
Rpc\NativeRpcConnection.cs (9)
351return notification ? null : EncodeFailure(id, method, -32000, "RPC_BUSY", "The connection request limit was reached.");
384return notification ? null : EncodeFailure(id, method, code,
390return notification ? null : EncodeFailure(id, method, -32000, "HANDLE_NOT_FOUND", "The capability lifetime has ended.");
395return notification ? null : EncodeFailure(id, method, -32602, "INVALID_ARGUMENT", "The capability arguments are invalid.");
400return notification ? null : EncodeFailure(id, method, -32000, "OPERATION_REJECTED", "The operation is not allowed in the current state.");
405return notification ? null : EncodeFailure(id, method, -32000, "NOT_SUPPORTED", "The requested execution is not configured.");
410return notification ? null : EncodeFailure(id, method, -32000, "CONNECTION_CLOSED", "The connection was closed.");
415return notification ? null : EncodeFailure(id, method, -32000, "EXECUTION_CANCELLED", "The execution was cancelled.");
423return notification ? null : EncodeFailure(id, method, -32603, "INTERNAL_ERROR", "The request failed internally.");