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