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