No matching definitions.

tur/schema-string

stdlib/schema-string.tur

owned String sibling for schema-error-message.

Since: v2 (string-adoption-stdlib-plan, batch 3)

defn

schema-error-message-string

(schema-error-message-string [errs : int] :)

format an error Vec into one owned String.

errsa Vec of SchemaError

An owned String, one "path: message" line per error (newline-separated).

(string/to-cstr (schema-error-message-string errs))
  ; => "user.age: expected :int, got :cstr"

Since: v2