# Pastebin c0cYYw9f /Users/kevin/Code/Pony/json-rpc-pony/jsonrpc/response.pony:24:45: receiver type is not a subtype of target type | let e: Error val => dmap("error") = e.to_jsonobject() ^ Info: /Users/kevin/Code/Pony/json-rpc-pony/jsonrpc/response.pony:24:41: receiver type: Error val | let e: Error val => dmap("error") = e.to_jsonobject() ^ /Users/kevin/Code/Pony/json-rpc-pony/jsonrpc/error.pony:21:3: target type: Error ref fun ref to_jsonobject(): JsonObject => ^ /Users/kevin/Code/Pony/json-rpc-pony/jsonrpc/response.pony:24:12: Error val is not a subtype of Error ref: val is not a subcap of ref | let e: Error val => dmap("error") = e.to_jsonobject()