Class AbpExceptionHttpStatusCodeOptions
Inheritance
System.Object
AbpExceptionHttpStatusCodeOptions
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: Volo.Abp.AspNetCore.ExceptionHandling
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AbpExceptionHttpStatusCodeOptions
Constructors
AbpExceptionHttpStatusCodeOptions()
Declaration
public AbpExceptionHttpStatusCodeOptions()
Properties
ErrorCodeToHttpStatusCodeMappings
Declaration
public IDictionary<string, HttpStatusCode> ErrorCodeToHttpStatusCodeMappings { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.Net.HttpStatusCode> |
Methods
Map(String, HttpStatusCode)
Declaration
public void Map(string errorCode, HttpStatusCode httpStatusCode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | errorCode | |
| System.Net.HttpStatusCode | httpStatusCode |