StreamDeletedException.fromError constructor
StreamDeletedException.fromError(
- GrpcError error
Constructs a new instance of StreamDeletedException from given error
Implementation
factory StreamDeletedException.fromError(GrpcError error) =>
StreamDeletedException(
error.trailers![Exceptions.StreamName] ?? '<unknown>',
cause: error,
);