Exception thrown when :
More...
|
|
const new string | DefaultMessage = "The data is not available locally and the client is in offline mode." |
| | Default error message indicating the server could not be reached and data is unavailable offline.
|
|
const new int | DefaultStatus = 410 |
| | Default HTTP status code representing the error condition. 410 Gone is chosen here because retrying won't help - the data is not available until ConnectionOnline==true.
|
Exception thrown when :
- Cascade ConnectionOnline==false and
- the requested data doesn't exist locally
Retrying will not succeed unless ConnectionOnline becomes true
◆ DataNotAvailableOffline()
| DataNotAvailableOffline.DataNotAvailableOffline |
( |
string | aMessage = null, |
|
|
Exception | aInnerException = null, |
|
|
int | aStatus = DefaultStatus ) |
|
inline |
DataNotAvailableOffline Constructor.
- Parameters
-
| aMessage | Custom error message, defaults to predefined message if null. |
| aInnerException | The inner exception that caused this exception, if any. |
| aStatus | HTTP status code for the error, defaults to 410. |
The documentation for this class was generated from the following file:
- Buzzware.Cascade/utilities/CascadeExceptions.cs