Skip to content

azu/ErrorGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ErrorGen Build Status

Version License Platform

A small library to create NSError with description.

Installation

pod "ErrorGen"

Usage

Pretty simple!

NSError *error = [ErrorGen errorWithDescription:@"desc"];
error.localizedDescription; // => @"desc"
error.domain; // => App's bundle identifier

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

About

A small library to create NSError with description.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published