novelai_api.NovelAIError

exception NovelAIError[source]

Bases: Exception

Expected raised by the NAI API when a problem occurs

__init__(url: str, status: int, message: str) None[source]
url: str

Url that caused the error

status: int

Provided status code, or -1 if no status code was provided

message: str

Provided error message