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