#[repr(C)]
pub struct NSExceptionName(pub NSString<'static>);
Expand description

The name of an NSException.

See documentation.

Tuple Fields

0: NSString<'static>

Implementations

Uncategorized exceptions.

A generic name for an exception.

You should typically use a more specific exception name.

See documentation.

The exception raised when an internal assertion fails and implies an unexpected condition within the called code.

See documentation.

The exception raised when you pass an invalid argument to a method, such as a nil (null/None) pointer where a non-nil object is required.

See documentation.

NSString exceptions.

The exception raised when a string cannot be represented in a file-system or string encoding.

See documentation.

The exception raised when a string cannot be parsed as a property list.

See documentation.

NSDecimalNumber exceptions.

The exception raised if there is an exactness error.

See documentation.

The exception raised on overflow.

See documentation.

The exception raised on underflow.

See documentation.

The exception raised on divide by zero.

See documentation.

NSFileHandle exceptions.

See documentation.

The exception raised if attempts to determine file-handle type fail or if attempts to read from a file or channel fail.

See documentation.

NSInvocation exceptions.

The exception raised if the result method is called after the operation was cancelled.

See documentation.

The exception raised if the result method is called for an invocation method with a void return type.

See documentation.

NSArchiver exceptions.

The exception raised if there are problems initializing or encoding.

See documentation.

NSKeyedArchiver exceptions.

See documentation.

The exception raised if there is a problem creating an archive.

See documentation.

The exception raised if there is a problem extracting an archive.

See documentation.

NSPort exceptions.

The exception raised when a generic error occurred on receive.

See documentation.

The exception raised when a generic error occurred on send.

See documentation.

The exception raised when a timeout set on a port expires during a send or receive operation.

See documentation.

NSRange exceptions.

The exception raised when attempting to access outside the bounds of some data, such as beyond the end of a string.

See documentation.

Key value coding exceptions.

The exception raised when a key value coding operation fails.

userInfo keys are described in NSUndefinedKeyException userInfo Keys.

See documentation.

Distributed object exceptions.

The exception that occurs when an internal assertion fails and implies an unexpected condition within the distributed objects.

See documentation.

The exception raised when the receive port of an NSConnection has become invalid.

See documentation.

The exception raised when the send port of an NSConnection has become invalid.

See documentation.

The exception raised when a remote object is accessed from a thread that should not access it.

See documentation.

The exception raised when the remote side of the NSConnection refused to send the message to the object because the object has never been vended.

See documentation.

AppKit exceptions.

Requires the app_kit feature flag.

An exception raised when there is already an NSPrintOperation in process.

See documentation.

UIKit exceptions.

Requires the ui_kit feature flag.

The exception raised when a view controller or the app returns 0 instead of a valid set of supported interface orientation values.

It is also thrown if the orientation returned by a view controller’s preferredInterfaceOrientationForPresentation method does not match one of the view controller’s supported orientations.

See documentation.

The exception raised when a view controller hierarchy is inconsistent with the view hierarchy.

See documentation.

Trait Implementations

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Increments the object’s retain count and returns a smart pointer that automatically calls release on Drop. Read more

Decrements the object’s retain count. Read more

Casts self into a type-erased Objective-C object.

Returns the class that this object is an instance of.

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.