Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

315
Vistas
Does AWS sdk have error handling logic? If not, which sdk have error handling logic?

There is no error handling logic in the sdk that I am currently making. So when an error occurs in the API call, the error message given by the API is just displayed to the user.

I think sdk needs backoff logic (error handling, retry, etc.) for user convenience.

So I'm looking at aws sdk. However, AWS sdk also seems to be simply creating an error object and displayed errors from the API.

According to my research, Forexample ...

// 1. When input invalidate accountId type.
var client = new AWS.S3Control().getPublicAccessBlock({AccountId : accountId}).build();
// 2. It occur error.
getPublicAccessBlock(params: ...params, callback?: (err: AWSError, data: ...data) => void): Request< ...data, AWSError>;

// 3. AWS sdk simply displayed error in AWSError object 
export type AWSError = Error & {
  code: string;
  message: string;
  retryable?: boolean;
  statusCode?: number;
  time: Date;
  hostname?: string;
  region?: string;
  retryDelay?: number;
  requestId?: string;
  extendedRequestId?: string;
  cfId?: string;
  originalError?: Error
}

MyGoal is

  • Is there an error handling logic in aws sdk?
  • If not, which sdk is helpful with error handling logic among the other sdk?
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda