krapio
Library referenceTypes

ApiErrorBody

type ApiErrorBody = {
  error:   | string
     | {
     code?: string;
     message?: string;
   };
  error_description?: string;
  retry_after?: number;
};

body of every error reply

Properties

PropertyTypeDescription
error| string | { code?: string; message?: string; }-
error_description?stringonly on the oauth endpoints, next to an error that is the code
retry_after?number-

On this page