reporting error with its parent context
This commit is contained in:
@@ -3,6 +3,10 @@ public class Context {
|
||||
var dictionaries: [[String: Any?]]
|
||||
|
||||
public let environment: Environment
|
||||
|
||||
public var errorReporter: ErrorReporter {
|
||||
return environment.errorReporter
|
||||
}
|
||||
|
||||
init(dictionary: [String: Any]? = nil, environment: Environment? = nil) {
|
||||
if let dictionary = dictionary {
|
||||
|
||||
Reference in New Issue
Block a user