Creates a Nebius error from a gRPC error and optional decoded values.
SDK request handling normally calls this constructor.
Optionalstatus: StatusOptionalrequestId: stringOptionaltraceId: stringContains the numeric gRPC status code.
Contains the plain gRPC detail text.
Contains response metadata from the failed call.
Contains the server request ID, or an empty string when unavailable.
Contains decoded Nebius service-error details.
OptionalstatusContains the decoded Google RPC status when available.
Contains the server trace ID, or an empty string when unavailable.
Converts the value to string.
StaticbuildBuilds the human-readable error message used by the constructor.
The message includes status text, correlation IDs, and summaries of known Nebius service errors. Use structured properties when program logic needs these values.
Optionalstatus: StatusOptionalrequestId: stringOptionaltraceId: string
Reports a failed Nebius gRPC request with structured diagnostics.
SDK unary requests wrap gRPC service errors with this class. Use code for general control flow. Use serviceErrors to inspect Nebius-specific causes such as field violations, quota failures, and resource conflicts. Include requestId and traceId when you contact support.
Example