Show / Hide Table of Contents

Class ExceptionExtensions

Extension methods for Exception

Inheritance
object
ExceptionExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client
Assembly: PayrollEngine.Client.Core.dll
Syntax
public static class ExceptionExtensions

Methods

GetApiErrorMessage(Exception)

Get the exception message from an API error

Declaration
public static string GetApiErrorMessage(this Exception exception)
Parameters
Type Name Description
Exception exception
Returns
Type Description
string

The payroll API error, null on others errors

☀
☾
Back to top Generated by DocFX