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