The Custom error example shows how to define an operation that returns a Result<Success, Failure>; Success is the
type returned upon success while Failure is the type returned upon failure.
In this example, Success holds a string while Failure holds a user-defined type (an enum).
This example uses QUIC, IceRPC's default multiplexed transport. On Linux and macOS, QUIC requires extra setup steps; see .NET's QUIC platform dependencies.
You can build the client and server applications with:
dotnet buildFirst start the Server program:
cd Server
dotnet runIn a separate terminal, start the Client program:
cd Client
dotnet run