isIllegalRequestError property
bool
get
isIllegalRequestError
Checks for Illegal Request error thrown by the library
This means you are trying to send a request immediately when it's impossible, using mutually-incompatible flags or passing invalid parameters
Implementation
bool get isIllegalRequestError => type == APIErrorType.local && data == 2;