Avalonia solo in codiceEnglish

API › RAVAL

RHttpError class

Il riferimento e' in inglese: viene dai commenti del sorgente di RAVAL, che dalla 2.0 ha nomi e commenti in inglese.

public sealed class RHttpError : Exception

An error that the program's method throws to answer with an HTTP status (400, 404, 409...): RServer turns it into the response { "error": message }.

Costruttori

RHttpError(int status, string message)

The status and the message.

Proprietà

int Status { get; }

The HTTP status of the response.