SimpleHttpResult
Public / Methods
ThrowIfFailure
Throws an IOException if this result represents a failure.
- IOException
-
If IsSuccess returns
false
.
ToString
Returns the string representation of this value.
The string representation is '(CODE) TEXT'
, where CODE
is the value of StatusCode and TEXT
is the value of StatusText. If StatusCode is 0
, then CODE
will be set to -N-1
, where N
is the ordinal value of Error.
Public / Attributes
Error
The non-protocol error that has occurred.
If StatusCode is equal to 0
, this value describes the non-protocol error that has occurred. Otherwise, this value has no meaning and will be set to IOError.Other.