Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
easyextensionsentityframeworkcoreexceptions WebApiException
BigMakCode edited this page Aug 5, 2024
·
1 revision
Base web api exception.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph EasyExtensions.EntityFrameworkCore.Exceptions
EasyExtensions.EntityFrameworkCore.Exceptions.WebApiException[[WebApiException]]
end
subgraph EasyExtensions.Abstractions
EasyExtensions.Abstractions.IHttpError[[IHttpError]]
class EasyExtensions.Abstractions.IHttpError interfaceStyle;
end
subgraph System
System.Exception[[Exception]]
end
EasyExtensions.Abstractions.IHttpError --> EasyExtensions.EntityFrameworkCore.Exceptions.WebApiException
System.Exception --> EasyExtensions.EntityFrameworkCore.Exceptions.WebApiException
| Type | Name | Methods |
|---|---|---|
string | ObjectNameObject name. | get |
HttpStatusCode | StatusCodeHTTP status code. | get |
| Returns | Name |
|---|---|
ErrorModel | GetErrorModel()Get error model. |
Base web api exception.
IHttpErrorException
publicWebApiException(HttpStatusCode statusCode,string objectName,string message)| Type | Name | Description |
|---|---|---|
HttpStatusCode | statusCode | HTTP status code. |
string | objectName | Object name. |
string | message | Exception message. |
Base web api exception.
publicvirtualErrorModelGetErrorModel()Get error model.
Error model.
publicvirtualHttpStatusCodeStatusCode{get;}HTTP status code.
publicstringObjectName{get;}Object name.
Generated withModularDoc