source: src/FinkiChattery/FinkiChattery.Common/Errors/Exceptions/BadRequestException.cs@ e6a6d9a

dev
Last change on this file since e6a6d9a was e6a6d9a, checked in by Стојков Марко <mst@…>, 3 years ago

Initialized FinkiChattery project

  • Property mode set to 100644
File size: 451 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Net;
4
5namespace 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.