Unosquare
    Show / Hide Table of Contents

    Class ApiErrorItem

    Defines the fields contained in one of the items of Api Errors.

    Inheritance
    System.Object
    ApiErrorItem
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Unosquare.PassCore.Common
    Syntax
    public class ApiErrorItem

    Constructors

    ApiErrorItem(ApiErrorCode, String)

    Initializes a new instance of the ApiErrorItem class.

    Declaration
    public ApiErrorItem(ApiErrorCode errorCode, string message = null)
    Parameters
    Type Name Description
    ApiErrorCode errorCode

    The error code.

    System.String message

    The message.

    Properties

    ErrorCode

    Gets or sets the error code.

    Declaration
    public ApiErrorCode ErrorCode { get; }
    Property Value
    Type Description
    ApiErrorCode

    The error code.

    FieldName

    Gets or sets the name of the field.

    Declaration
    public string FieldName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the field.

    Message

    Gets the message.

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    System.String

    The message.

    Comments

    Back to top Copyright © 2017-2019 Unosquare