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.4KB

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