Version 0.0.0-0

Public members

SKObject Reference

File
ShellKit/SKObject.h
Copyright
© (c) 2017, Jean-David Gadina - www.xs-labs.com
Date
Monday, May 15, 2017
Includes
  • <Foundation/Foundation.h>

Class SKObject

Attributes

Superclass
NSObject

- errorWithDescription: Top

Returns an error object for the class with a custom description

- ( NSError * )errorWithDescription: ( NSString * )format, ... NS_FORMAT_FUNCTION( 1, 2 );

Discussion

The error object will be created with a domain containing the class name, eg: `com.xs-labs.ShellKit.SommClass`. The message will be set as the error's localized description.

Parameters
  • format
    The error message format
  • ...
    Optional parameters for the format string
Return value

An error object