19 base( msg, innerException ) { }
28 : base(msg, innerException)
33 public string what() {
return Message; }
37 var baseMsg =
"KineticaException: " + Message;
38 return StatusCode.HasValue ? $
"{baseMsg} (HTTP {StatusCode})" : baseMsg;
override string ToString()
int? StatusCode
HTTP status code if this exception originated from an HTTP error response.
KineticaException(string msg)
KineticaException(string msg, Exception innerException)
KineticaException(string msg, int? statusCode, Exception? innerException=null)
Creates a KineticaException with an HTTP status code.