 
 public protocol DecodingError: ErrorType {
     var path: [String] {get set}
-    var object: AnyObject? {get}
+    var object: AnyObject {get}
     var rootObject: AnyObject? {get set}
     var formattedPath: String {get}
 }

    public let key: String
    
    public var path: [String]
    public let object: AnyObject?
    public var rootObject: AnyObject?
    
    public var debugDescription: String {

    public let rawValue: Any
    
    public var path: [String]
    public let object: AnyObject
    public var rootObject: AnyObject?
    
    public var debugDescription: String {
