 
 extension Dictionary: URLQueryStringConvertible {
     public func asQuery() throws -> String {
-        guard let _ = self as? [String: Any] else { throw AxziplinError.InvalidParametersKeyType(parameters: self) }
+        guard let _ = self as? [String: Any] else { throw AxziplinError.invalidParametersKeyType(parameters: self) }
         
         func _query() -> String {
             var components: [(String, String)] = []

    /// - throws: An `Error` if the encoding process encounters an error.
    ///
    /// - returns: The encoded request.
    public func encode(_ request: URLRequestConvertible, with parameters: Request.RequestParameters) throws -> URLRequest {
        return URLRequest(url: URL(string: "")!)
    }
}


// String to `URLConvertiable`.
extension String: URLConvertible {
    public func asURL() throws -> URL {
        guard let url = URL(string: self) else { throw AxziplinError.invalidURL(url: self) }
        return url
    }
}
