cocoa :: NSError :: defaultinit
cocoa :: NSError :: localized_description
Wraps:NSError.localizedDescription
cocoa :: NSError :: localized_failure_reason
Wraps:NSError.localizedFailureReason
cocoa :: NSError :: localized_recovery_suggestion
Wraps:NSError.localizedRecoverySuggestion
cocoa :: NSError :: recovery_attempter
Wraps:NSError.recoveryAttempter
core :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
cocoa :: NSError :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
cocoa :: NSError :: localized_description
Wraps:NSError.localizedDescription
cocoa :: NSError :: localized_failure_reason
Wraps:NSError.localizedFailureReason
cocoa :: NSError :: localized_recovery_suggestion
Wraps:NSError.localizedRecoverySuggestion
core :: Object :: output_class_name
Display class name on stdout (debug only).cocoa :: NSError :: recovery_attempter
Wraps:NSError.recoveryAttempter
# Error condition
extern class NSError in "ObjC" `{ NSError * `}
# Wraps: `[self initWithDomain:(NSString)domain code:(NSInteger)code userInfo:(NSDictionary)dict]`
#new init_with_domain_code_user_info(domain: NSString, code: Int, dict: NSDictionary) in "ObjC" `{
# return [[NSError alloc] initWithDomain: domain code: code userInfo: dict];
#`}
# Wraps: `NSError.domain`
fun domain: NSString in "ObjC" `{
return [self domain];
`}
# Wraps: `NSError.code`
fun code: Int in "ObjC" `{
return [self code];
`}
# Wraps: `NSError.userInfo`
#fun user_info: NSDictionary in "ObjC" `{
# return [self userInfo];
#`}
# Wraps: `NSError.localizedDescription`
fun localized_description: NSString in "ObjC" `{
return [self localizedDescription];
`}
# Wraps: `NSError.localizedFailureReason`
fun localized_failure_reason: NSString in "ObjC" `{
return [self localizedFailureReason];
`}
# Wraps: `NSError.localizedRecoverySuggestion`
fun localized_recovery_suggestion: NSString in "ObjC" `{
return [self localizedRecoverySuggestion];
`}
# Wraps: `NSError.localizedRecoveryOptions`
#fun localized_recovery_options: NSArray in "ObjC" `{
# return [self localizedRecoveryOptions];
#`}
# Wraps: `NSError.recoveryAttempter`
fun recovery_attempter: NSObject in "ObjC" `{
return [self recoveryAttempter];
`}
# Wraps: `NSError.helpAnchor`
fun help_anchor: NSString in "ObjC" `{
return [self helpAnchor];
`}
end
lib/cocoa/foundation.nit:69,1--121,3