Markup Formatting Reference: Throws (original) (raw)

Add the Throws section to Quick Help for a symbol using the Throws delimiter. Use the throws section to specify any errors thrown by a method or function

Works with:

Syntax

The description displayed in Quick Help for the throws section is created as described in Parameters Section.

Example

  1. /// - Throws: An error of type `FakeArrayError`

image: ../Art/MFR_symbol_section_throws_2x.png

Since

To Do

Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2017-06-05