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
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:
29
native-route/linux/src/network/network-error.vala
Normal file
29
native-route/linux/src/network/network-error.vala
Normal 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 */
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user