Skip to content

A framework for swift to handle the exception in objc

License

Notifications You must be signed in to change notification settings

organi2e/ExceptionRelay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this

A framework for swift to catch @objc exceptions

Example

do {
  try exceptionable {
    NSException(name: .invalidArgumentException, reason: "a reason", userInfo: nil).raise()
  }
} catch {
  print(error)
}

more: read xctest codes in this repository.

Releases

No releases published

Packages

No packages published