Skip to main content

BusyBarErrorBody

Namespace: Busy.Bar

Body of a non-2xx JSON error response.

public sealed record class BusyBarErrorBody : System.IEquatable`1[[Busy.Bar.BusyBarErrorBody, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → BusyBarErrorBody
Implements IEquatable<BusyBarErrorBody>
Attributes NullableContextAttribute, NullableAttribute

Properties

Error

public string Error { get; init; }

Property Value

String

Code

public int? Code { get; init; }

Property Value

Int32?

Constructors

BusyBarErrorBody(String, Int32?)

Body of a non-2xx JSON error response.

public BusyBarErrorBody(string Error, int? Code)

Parameters

Error String

Code Int32?