Class AbpExceptionHttpStatusCodeOptions
Inheritance
object
AbpExceptionHttpStatusCodeOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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<TKey, TValue><string, System.Net.HttpStatusCode> |
Methods
Map(string, HttpStatusCode)
Declaration
public void Map(string errorCode, HttpStatusCode httpStatusCode)
Parameters
| Type | Name | Description |
|---|---|---|
| string | errorCode | |
| System.Net.HttpStatusCode | httpStatusCode |