public Error(string title, string type, int status, ErrorDetailsCollection errors) { TraceId = Guid.NewGuid(); Title = title; Type = type; Status = status; Errors = errors; }
public NotFoundError(string title, ErrorDetailsCollection errors) : base(title, nameof(NotFoundError), (int)HttpStatusCode.NotFound, errors) { }
public AppError(string title, ErrorDetailsCollection errors) : base(title, nameof(AppError), (int)HttpStatusCode.BadRequest, errors) { }
public DomainError(string title, ErrorDetailsCollection errors) : base(title, nameof(DomainError), (int)HttpStatusCode.Forbidden, errors) { }