Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
30 lines
1.0 KiB
Vala
30 lines
1.0 KiB
Vala
/*
|
|
* NetworkError.vala
|
|
*
|
|
* Network error domain for feed fetcher service.
|
|
*/
|
|
|
|
namespace RSSuper {
|
|
/**
|
|
* NetworkError - Error domain for network operations
|
|
*/
|
|
public errordomain NetworkError {
|
|
TIMEOUT, /** Request timed out */
|
|
NOT_FOUND, /** Resource not found (404) */
|
|
FORBIDDEN, /** Access forbidden (403) */
|
|
UNAUTHORIZED, /** Unauthorized (401) */
|
|
BAD_REQUEST, /** Bad request (400) */
|
|
SERVER_ERROR, /** Server error (5xx) */
|
|
CLIENT_ERROR, /** Client error (4xx, generic) */
|
|
DNS_FAILED, /** DNS resolution failed */
|
|
CONNECTION_FAILED, /** Connection failed */
|
|
PROTOCOL_ERROR, /** Protocol error */
|
|
SSL_ERROR, /** SSL/TLS error */
|
|
CANCELLED, /** Request was cancelled */
|
|
EMPTY_RESPONSE, /** Empty response received */
|
|
INVALID_URL, /** Invalid URL */
|
|
CONTENT_TOO_LARGE, /** Content exceeds size limit */
|
|
INVALID_CONTENT_TYPE, /** Invalid content type */
|
|
}
|
|
}
|