Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 277 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 277 Bytes

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.