Zum Hauptinhalt springen

CkMethodErrorDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

A domain error code a CkMethodDto may return (CK v2, AB#5669). Codes are UPPER_SNAKE_CASE and must not start with METHOD_ (reserved for platform errors).

public class CkMethodErrorDto

Inheritance Object → CkMethodErrorDto

Properties​

Code​

The error code, e.g. PASSWORD_POLICY_VIOLATION.

public string Code { get; set; }

Property Value​

String

Description​

An optional description of the error.

public string Description { get; set; }

Property Value​

String

Constructors​

CkMethodErrorDto()​

public CkMethodErrorDto()