Class AnthropicHttpException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.langchain4j.model.anthropic.internal.client.AnthropicHttpException
All Implemented Interfaces:
Serializable

public class AnthropicHttpException extends RuntimeException
See Also:
  • Constructor Details

    • AnthropicHttpException

      public AnthropicHttpException(Integer statusCode, String message)
  • Method Details

    • statusCode

      public Integer statusCode()
      HTTP response status code. Can be null.