private ErroDto(string code, string message, ErroDto[] details, ErroDto innerError) { Code = code; Message = message; Details = details; InnerError = innerError; }
public static ErroRespostaDto Para(ModelStateDictionary modelState) { return(new ErroRespostaDto(ErroDto.Para(modelState))); }
public static ErroRespostaDto ParaNotFound(string busca) { return(new ErroRespostaDto(ErroDto.ParaNotFound(busca))); }
public static ErroRespostaDto Para(Exception exception) { return(new ErroRespostaDto(ErroDto.Para(exception))); }
private ErroRespostaDto(ErroDto error) { Error = error; }