diff --git a/src/core.jl b/src/core.jl index c4630f79..b4b4e766 100644 --- a/src/core.jl +++ b/src/core.jl @@ -1,6 +1,6 @@ struct JSONRPCError <: Exception code::Int - msg::AbstractString + message::AbstractString data::Any end @@ -33,7 +33,7 @@ function Base.showerror(io::IO, ex::JSONRPCError) print(io, error_code_as_string) print(io, ": ") - print(io, ex.msg) + print(io, ex.message) if ex.data !== nothing print(io, " (") print(io, ex.data)