source:
src/FinkiChattery/FinkiChattery.Common/Errors/Exceptions/BadRequestException.cs@
e6a6d9a
Last change on this file since e6a6d9a was e6a6d9a, checked in by , 3 years ago | |
---|---|
|
|
File size: 451 bytes |
Line | |
---|---|
1 | using System; |
2 | using System.Collections.Generic; |
3 | using System.Net; |
4 | |
5 | namespace FinkiChattery.Common.Errors.Exceptions |
6 | { |
7 | public class BadRequestException : Exception |
8 | { |
9 | public BadRequestException(Dictionary<string, List<string>> errors) |
10 | { |
11 | Errors = errors; |
12 | } |
13 | |
14 | public static HttpStatusCode ErrorCode = HttpStatusCode.BadRequest; |
15 | |
16 | public Dictionary<string, List<string>> Errors { get; } |
17 | } |
18 | } |
Note:
See TracBrowser
for help on using the repository browser.