AppMetricaError class
A simple implementation of the ErrorRepresentable protocol.
Instance methods
Creates the |
|
Creates the |
|
init(identifier:message:parameters:backtrace:underlyingError:) |
Creates the |
Method descriptions
init(identifier:)
convenience init(identifier: String)
Creates the AppMetricaError
instance with the specified ID.
Parameters:
|
Error ID. AppMetrica uses it to group errors. |
Returns:
The AppMetricaError
class instance.
init(identifier:message:parameters:)
convenience init(identifier: String, message: String?, parameters: [String : Any]?)
Creates the AppMetricaError
instance with the specified ID and other parameters.
Parameters:
|
Error ID. AppMetrica uses it to group errors. |
|
Arbitrary error description. |
|
Additional error parameters. |
Returns:
The AppMetricaError
class instance.
init(identifier:message:parameters:backtrace:underlyingError:)
convenience init(identifier: String, message: String?, parameters: [String : Any]?, backtrace: [NSNumber]?, underlyingError: ErrorRepresentable?)
Creates the AppMetricaError
instance of the user with the specified ID and other parameters.
Parameters:
|
Error ID. AppMetrica uses it to group errors. |
|
Arbitrary error description. |
|
Additional error parameters. |
|
Custom error backtrace. |
|
Error instance that matches the ErrorRepresentable protocol. |
Returns:
The AppMetricaError
class instance.