/* * 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 */ } }