次の方法で共有


ErrorCategory type

ErrorCategory の値を定義します。 使用可能な値は、'userError'、'serverError' です。

type ErrorCategory = "usererror" | "servererror"