pub enum RobloxError {
InvalidPlace,
InvalidResponse,
Network,
Rejected(u16),
Challenged,
}Expand description
Why a Roblox request failed. Displays as a user-facing message.
Variants§
InvalidPlace
The place ID or game link isn’t valid.
InvalidResponse
Roblox answered with something unexpected.
Network
Roblox couldn’t be reached.
Rejected(u16)
Roblox refused the request with this HTTP status.
Challenged
Roblox asked for a verification check that only roblox.com can show.
Trait Implementations§
Source§impl Debug for RobloxError
impl Debug for RobloxError
Source§impl Display for RobloxError
impl Display for RobloxError
Source§impl Error for RobloxError
impl Error for RobloxError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for RobloxError
impl RefUnwindSafe for RobloxError
impl Send for RobloxError
impl Sync for RobloxError
impl Unpin for RobloxError
impl UnsafeUnpin for RobloxError
impl UnwindSafe for RobloxError
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
Mutably borrows from an owned value. Read more