• Articles
  • Api Documentation

    Show / Hide Table of Contents
    • Yort.Laybuy.InStore
      • CancelOrderRequest
      • CancelOrderResponse
      • CreateOrderRequest
      • CreateOrderResponse
      • ILaybuyClient
      • LaybuyApiException
      • LaybuyApiResponseBase
      • LaybuyClient
      • LaybuyClientConfiguration
      • LaybuyCredentials
      • LaybuyCustomerAddress
      • LaybuyCustomerBase
      • LaybuyEnvironment
      • LaybuyItem
      • LaybuyOrderRefund
      • LaybuyOrderStatus
      • LaybuyRequestBase
      • LaybuyStatus
      • OrderRequest
      • OrderResponse
      • OrderStatusRequest
      • OrderStatusResponse
      • RefundRequest
      • RefundResponse
      • RequestLaybuyCustomer
      • ResponseLaybuyCustomer
      • StandardOriginData

    Class LaybuyApiException

    Represents an exception thrown when a Laybuy API returns a non-successful result.

    Inheritance
    Object
    Exception
    LaybuyApiException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: Yort.Laybuy.InStore
    Assembly: Yort.Laybuy.InStore.dll
    Syntax
    [Serializable]
    public class LaybuyApiException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    LaybuyApiException()

    Default constructor. Not recommended, used LaybuyApiException(String).

    Declaration
    public LaybuyApiException()
    | Improve this Doc View Source

    LaybuyApiException(SerializationInfo, StreamingContext)

    Deserialisation constructor.

    Declaration
    protected LaybuyApiException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context
    | Improve this Doc View Source

    LaybuyApiException(String)

    Partial constructor.

    Declaration
    public LaybuyApiException(string message)
    Parameters
    Type Name Description
    String message

    The error message associated with the exception.

    | Improve this Doc View Source

    LaybuyApiException(String, Exception)

    Full constructor.

    Declaration
    public LaybuyApiException(string message, Exception inner)
    Parameters
    Type Name Description
    String message

    The error message associated with the exception.

    Exception inner

    Another exception wrapped by this one.

    Implements

    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2020 Troy Willmot