-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'deploy/0.2.0' into productive
- Loading branch information
Showing
14 changed files
with
158 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by Cihat Gündüz on 16.10.18. | ||
// Copyright © 2018 Jamit Labs GmbH. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public class MungoError: BaseError { | ||
public let source: ErrorSource | ||
public let errorDescription: String | ||
|
||
public init(source: ErrorSource, message: String) { | ||
self.source = source | ||
self.errorDescription = message | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// | ||
// Created by Cihat Gündüz on 16.10.18. | ||
// Copyright © 2018 Jamit Labs GmbH. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public class MungoFatalError: MungoError, FatalError { /* only semantically different than MungoError */ } |
16 changes: 16 additions & 0 deletions
16
Frameworks/MungoHealer/ErrorTypes/MungoHealableError.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Created by Cihat Gündüz on 16.10.18. | ||
// Copyright © 2018 Jamit Labs GmbH. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public class MungoHealableError: MungoError, HealableError { | ||
public let healingOptions: [HealingOption] | ||
|
||
public init(source: ErrorSource, message: String, healingOption: HealingOption) { | ||
let cancelOption = HealingOption(style: .normal, title: LocalizedString("ERROR_TYPES.CANCEL_BUTTON.TITLE")) {} | ||
self.healingOptions = [cancelOption, healingOption] | ||
super.init(source: source, message: message) | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters