Avalonia Code OnlyItaliano

API › RAVAL

RHttpError class

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 }.

Constructors

RHttpError(int status, string message)

The status and the message.

Properties

int Status { get; }

The HTTP status of the response.