diff --git a/src/clj/coffi/mem.clj b/src/clj/coffi/mem.clj index 615b3bc..b9880fe 100644 --- a/src/clj/coffi/mem.clj +++ b/src/clj/coffi/mem.clj @@ -976,7 +976,7 @@ (if-some [prim-layout (primitive-type type)] (with-acquired [(segment-session segment) session] (serialize-into (serialize* obj type session) prim-layout segment session)) - (throw (ex-info "Attempted to serialize an object to a type that has not been overriden" + (throw (ex-info "Attempted to serialize an object to a type that has not been overridden" {:type type :object obj}))))