HttpError列挙型(Enum)

列挙型(Enum)日本語解説は準備中

ひとことで言うと

HttpErrorは、ロブロックス(Roblox)の列挙型(Enum)です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Enum representing errors that can occur when making HTTP requests, unrelated to HTTP status codes returned by the server.

選べる値(19)

名前値説明
Enum.HttpError.OK0No error occurred; the request completed successfully. This value is unrelated to the HTTP 200 OK status code.
Enum.HttpError.InvalidUrl1The request URL is malformed or otherwise invalid; depending on the platform, a bad URL might instead surface as HttpError.DnsResolve or HttpError.ConnectFail.
Enum.HttpError.DnsResolve2The hostname in the request URL could not be resolved via DNS.
Enum.HttpError.ConnectFail3The client failed to establish a TCP connection to the remote host.
Enum.HttpError.OutOfMemory4The client ran out of memory while processing the HTTP request or response.
Enum.HttpError.TimedOut5The request did not receive a response within the allowed time limit.
Enum.HttpError.TooManyRedirects6The server returned more redirects than the client is configured to follow.
Enum.HttpError.InvalidRedirect7The server returned a redirect response with an invalid or malformed Location header.
Enum.HttpError.NetFail8A general network-level failure occurred that does not fall into a more specific error category.
Enum.HttpError.Aborted9The HTTP request was aborted before it could complete.
Enum.HttpError.SslConnectFail10The TLS/SSL handshake with the remote server failed during connection establishment.
Enum.HttpError.SslVerificationFail11The server's TLS certificate could not be verified.
Enum.HttpError.Unknown12An error occurred that does not map to any other HttpError value.
Enum.HttpError.ConnectionClosed13The connection was closed by the remote end before the full response was received, typically indicating a server or network problem.
Enum.HttpError.ServerProtocolError14An HTTP/2 protocol-level error was returned by the server.
Enum.HttpError.CreatorEnvironmentsNotSupportedByService15The request was sent from a non-live environment (such as Studio) and the target service does not support creator environments.
Enum.HttpError.InactivityTimeout16A streaming request timed out because no data was transferred during the inactivity window.
Enum.HttpError.TooManyOutstandingRequests17The request was rejected because the client has exceeded its limit for concurrent or pending requests.
Enum.HttpError.InvalidRangeResponse18The server returned an invalid response to a ranged HTTP request, such as responding with a full 200 status instead of the expected 206 Partial Content.

英語の説明とメンバーの一覧は、Roblox Creator Documentation(HttpError)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む