Table of Contents

Class UofxService.Error

Namespace
Ede.Uofx.PubApi.Sdk.NetStd.Service
Assembly
Ede.Uofx.PubApi.Sdk.NetStd.dll

api 的異常處理

public static class UofxService.Error
Inheritance
UofxService.Error
Inherited Members

Methods

ConvertToModel(AggregateException)

轉換 api 的 AggregateException 為 ExceptionModel

public static List<ExceptionModel> ConvertToModel(AggregateException ae)

Parameters

ae AggregateException

Returns

List<ExceptionModel>

ConvertToModel(Exception)

轉換 api 的 Exception 為 ExceptionModel

public static ExceptionModel ConvertToModel(Exception e)

Parameters

e Exception

Returns

ExceptionModel