Class LaybuyApiException
Represents an exception thrown when a Laybuy API returns a non-successful result.
Implements
Inherited Members
Namespace: Yort.Laybuy.InStore
Assembly: Yort.Laybuy.InStore.dll
Syntax
[Serializable]
public class LaybuyApiException : Exception, ISerializable
Constructors
| Improve this Doc View SourceLaybuyApiException()
Default constructor. Not recommended, used LaybuyApiException(String).
Declaration
public LaybuyApiException()
LaybuyApiException(SerializationInfo, StreamingContext)
Deserialisation constructor.
Declaration
protected LaybuyApiException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | |
| StreamingContext | context |
LaybuyApiException(String)
Partial constructor.
Declaration
public LaybuyApiException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The error message associated with the exception. |
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. |