/* * SPDX-License-Identifier: AGPL-3.0-or-later * Copyright (C) 2025 Sergej Görzen * This file is part of OmiLAXR. */ namespace OmiLAXR.Endpoints { /// /// Represents the status codes for statement transfer operations. /// Mirrors HTTP status codes with additional custom statuses. /// public enum TransferCode { /// /// Statements were queued and sent later. /// Queued = 202, /// /// No statements to transfer (HTTP 204 No Content) /// NoStatements = 204, /// /// Authentication failed due to invalid credentials (HTTP 401 Unauthorized) /// InvalidCredentials = 401, /// /// Generic server-side error occurred (HTTP 500 Internal Server Error) /// Error = 500, /// /// Server is currently unable to handle the request (HTTP 503 Service Unavailable) /// Busy = 503, /// /// Transfer completed successfully (HTTP 200 OK) /// Success = 200 } }