HTTP method
Request path or URL
HTTP status code
Response headers
Error message (response body)
OptionalcauseReadonlyheadersResponse headers from server.
ReadonlymethodHTTP method used for the request.
ReadonlypathRequest path or URL.
OptionalstackReadonlystatusHTTP status code from server.
Error thrown when HTTP request fails with non-2xx status.
HttpErroris thrown by HttpLlm.execute and HttpMigration.execute when the server returns a non-2xx status code. Contains the full HTTP context: method, path, status, headers, and response body.The response body is available via message (raw string) or toJSON (parsed JSON). For non-throwing behavior, use HttpLlm.propagate or HttpMigration.propagate instead.
Author
Jeongho Nam - https://github.com/samchon