Show / Hide Table of Contents

Class ExceptionModel

Inheritance
System.Object
ExceptionModel
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Ede.Uofx.PubApi.Sdk.NetStd
Assembly: Ede.Uofx.PubApi.Sdk.NetStd.dll
Syntax
public class ExceptionModel

Properties

View Source

Errors

只有在 Type 為 ErrorCodes 時才會有值,其值為錯誤代碼

Declaration
public IEnumerable<MoreErrorItem> Errors { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<MoreErrorItem>
View Source

Message

只有在 Type 為 Exception 時才會有值,其值為 Exception 的 Message

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

Type

錯誤的類型

Declaration
[JsonConverter(typeof(JsonStringEnumConverter))]
public ErrorType Type { get; }
Property Value
Type Description
ErrorType
  • View Source
In This Article
Back to top Generated by DocFX