summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLSource.mm
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2018-08-09 13:35:28 -0400
committerGitHub <noreply@github.com>2018-08-09 13:35:28 -0400
commitec7b920603299f66332df3b324ed481c732b3657 (patch)
tree4561cda90d0a1a75f84f72f3a077a6e6b954c92b /platform/darwin/src/MGLSource.mm
parenta378d6fc9b71d5a40750158c5f7c475669408052 (diff)
downloadqtlocation-mapboxgl-ec7b920603299f66332df3b324ed481c732b3657.tar.gz
[ios] Standardize exception definitions
Diffstat (limited to 'platform/darwin/src/MGLSource.mm')
-rw-r--r--platform/darwin/src/MGLSource.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLSource.mm b/platform/darwin/src/MGLSource.mm
index 6d57e14e8c..a32e223782 100644
--- a/platform/darwin/src/MGLSource.mm
+++ b/platform/darwin/src/MGLSource.mm
@@ -48,7 +48,7 @@
- (void)addToMapView:(MGLMapView *)mapView {
if (_pendingSource == nullptr) {
- [NSException raise:@"MGLRedundantSourceException"
+ [NSException raise:MGLRedundantSourceException
format:@"This instance %@ was already added to %@. Adding the same source instance " \
"to the style more than once is invalid.", self, mapView.style];
}