Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Standardize NSException names #7258

Closed
Closed

Description

@1ec5

Most of the NSExceptions we raise in the iOS and macOS SDKs are named with ad-hoc names such as “Value not handled”. Instead, we should either use one of the predefined exception names or define a string constant such as “MGLIdentifierCollisionException” in MGLTypes.h for use with these exceptions. This way, test code can more easily check for the exception with XCTAssertThrowsSpecificNamed(), and we could start adding notes about exception conditions in our method documentation.

/cc @incanus @frederoni

Activity

  1. added
    iOS
    macOS
    MapKit parity
    on Dec 1, 2016
  2. fabian-guerra commented on Oct 4, 2017

    @fabian-guerra
    Contributor
  3. self-assigned this
    on Aug 8, 2018
  4. added this to the ios-v4.4.0 milestone on Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

MapKit paritydocumentationgood first issueiOSmacOSrefactor

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions