pub enum DocumentedErrorCode {
Show 17 variants
Unknown,
Key,
Ip,
Method,
Count,
Period,
Country,
Ids,
Version,
Description,
Type,
Port,
ProxyString,
ActiveProxyAllow,
NoMoney,
NotFound,
Price,
}Expand description
Error that exists in the API documentation.
Variants§
Unknown
30 - Error unknown - Unknown error.
Key
100 - Error key - Authorization error, wrong key.
Ip
105 - Error ip - The API was accessed from an incorrect IP (if the restriction is enabled), or an incorrect IP address format.
Method
110 - Error method - Wrong method.
Count
200 - Error count - Wrong proxies quantity, wrong amount or no quantity input.
Period
210 - Error period - Period error, wrong period input (days) or no input.
Country
220 - Error country - Country error, wrong country input (iso2 for country input) or no input.
Ids
230 - Error ids - Error of the list of the proxy numbers. Proxy numbers have to divided with comas.
Version
240 - Error version - The proxy version is specified incorrectly.
Description
250 - Error descr - Tech description error.
Type
260 - Error type - Proxy type (protocol) error. Incorrect or missing.
Port
270 - Error port - Proxy port error, incorrectly specified or missing.
ProxyString
280 - Error proxy str - Proxy string error for the check method, incorrectly specified.
ActiveProxyAllow
300 - Error active proxy allow - Proxy amount error. Appears after attempt of purchase of more proxies than available on the service.
NoMoney
400 - Error no money - Balance error. Zero or low balance on your account.
NotFound
404 - Error not found - Element error. The requested item was not found.
Price
410 - Error price - Error calculating the cost. The total cost is less than or equal to zero.
Trait Implementations§
Source§impl Clone for DocumentedErrorCode
impl Clone for DocumentedErrorCode
Source§fn clone(&self) -> DocumentedErrorCode
fn clone(&self) -> DocumentedErrorCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DocumentedErrorCode
impl Debug for DocumentedErrorCode
Source§impl Display for DocumentedErrorCode
impl Display for DocumentedErrorCode
Source§impl Error for DocumentedErrorCode
impl Error for DocumentedErrorCode
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for DocumentedErrorCode
impl PartialEq for DocumentedErrorCode
impl Eq for DocumentedErrorCode
impl StructuralPartialEq for DocumentedErrorCode
Auto Trait Implementations§
impl Freeze for DocumentedErrorCode
impl RefUnwindSafe for DocumentedErrorCode
impl Send for DocumentedErrorCode
impl Sync for DocumentedErrorCode
impl Unpin for DocumentedErrorCode
impl UnwindSafe for DocumentedErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.