Class FirecrawlException

    • Constructor Summary

      Constructors 
      Constructor Description
      FirecrawlException​(java.lang.String message)  
      FirecrawlException​(java.lang.String message, int statusCode)  
      FirecrawlException​(java.lang.String message, int statusCode, java.lang.String errorCode, java.lang.Object details)  
      FirecrawlException​(java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getDetails()
      Additional error details from the API response, if any.
      java.lang.String getErrorCode()
      Error code from the API response, if any.
      int getStatusCode()
      HTTP status code (0 if not an HTTP error).
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FirecrawlException

        public FirecrawlException​(java.lang.String message)
      • FirecrawlException

        public FirecrawlException​(java.lang.String message,
                                  int statusCode)
      • FirecrawlException

        public FirecrawlException​(java.lang.String message,
                                  int statusCode,
                                  java.lang.String errorCode,
                                  java.lang.Object details)
      • FirecrawlException

        public FirecrawlException​(java.lang.String message,
                                  java.lang.Throwable cause)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        HTTP status code (0 if not an HTTP error).
      • getErrorCode

        public java.lang.String getErrorCode()
        Error code from the API response, if any.
      • getDetails

        public java.lang.Object getDetails()
        Additional error details from the API response, if any.