 class ManyParser<T> {
     enum Error: Swift.Error {
         case notAnArray
-        case wrongType
     }
 
     let parser: Parser

        }

        if let many = many as? [T] {
            let next = json["next"].string
            let isLastPage = json["isLastPage"].bool
            let config = PageConfig(next: next, isLastPage: isLastPage)
            return (config, many)
        }
        throw Error.wrongType

    }
}

        guard let objects = results.array else {
            throw Error.notAnArray
        }

        let next = json["next"].string
        let isLastPage = json["isLastPage"].bool
        let config = PageConfig(next: next, isLastPage: isLastPage)

        var db: Parser.Database = [:]
        var ids: [Parser.Identifier] = []
