linux feed-fetcher
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

This commit is contained in:
2026-03-30 12:33:35 -04:00
parent 1fe72401f0
commit e5197e6a2d
6 changed files with 1061 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
/*
* 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 */
}
}