You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

errors.d.ts 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. declare class XrplError extends Error {
  2. readonly name: string;
  3. readonly message: string;
  4. readonly data?: unknown;
  5. constructor(message?: string, data?: unknown);
  6. toString(): string;
  7. inspect(): string;
  8. }
  9. declare class RippledError extends XrplError {
  10. }
  11. declare class UnexpectedError extends XrplError {
  12. }
  13. declare class ConnectionError extends XrplError {
  14. }
  15. declare class NotConnectedError extends ConnectionError {
  16. }
  17. declare class DisconnectedError extends ConnectionError {
  18. }
  19. declare class RippledNotInitializedError extends ConnectionError {
  20. }
  21. declare class TimeoutError extends ConnectionError {
  22. }
  23. declare class ResponseFormatError extends ConnectionError {
  24. }
  25. declare class ValidationError extends XrplError {
  26. }
  27. declare class XRPLFaucetError extends XrplError {
  28. }
  29. declare class NotFoundError extends XrplError {
  30. constructor(message?: string);
  31. }
  32. export { XrplError, UnexpectedError, ConnectionError, RippledError, NotConnectedError, DisconnectedError, RippledNotInitializedError, TimeoutError, ResponseFormatError, ValidationError, NotFoundError, XRPLFaucetError, };
  33. //# sourceMappingURL=errors.d.ts.map