Constructor NatsJSApiException
NatsJSApiException(ApiError)
Create JetStream API exception.
public NatsJSApiException(ApiError error)Parameters
- errorApiError
- Error response received from the server. 
Create JetStream API exception.
public NatsJSApiException(ApiError error)error ApiErrorError response received from the server.