Assembly: OptimaJet.Workflow.Api

Class Error

OptimaJet.Workflow.Api.Models.Error

Error.

public record Error : IEquatable<Error>

Type Hierarchy

Constructors

[JsonConstructor] [JsonConstructor] public Error(string message, ErrorCode code = ErrorCode.Unknown) #

Parameters

Name
Type
Description
message
String
code
ErrorCode

Properties

[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(JsonStringEnumConverter))] public ErrorCode Code { get; init; } #
Gets the code value.
public string Message { get; init; } #
Gets the message value.
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public Dictionary<string, string[]>? Errors { get; init; } #
Gets the errors value.