An exception thrown when :
More...
|
|
const new string | DefaultMessage = "The origin could not be accessed due to a network or server failure." |
| | Default error message indicating the network or server failed temporarily.
|
|
const new int | DefaultStatus = 504 |
| | 504 Gateway Timeout is chosen here because it is likely a temporary network failure
|
An exception thrown when :
- Cascade ConnectionOnline==true and
- A request to the origin failed to connect and
- the requested data doesn't exist locally or doesn't meet the fallback freshness requirement
Retrying is likely to succeed
◆ OriginAccessFailure()
| OriginAccessFailure.OriginAccessFailure |
( |
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