Explorer

definy.text-error

description
The error message with the byte position
type
Fn(message: String, index: Number) -> String
expression
fn(message$0, index$1) =>
  @std.string-join(items: [$0, " at byte ", @std.number-to-string(value: $1)], separator: "")
visibility
public
definy.text-error (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: UvEykVo-rajffaxE5qPDEr-BLw3RHn5pkcCppzERkb0
content hash: N-ws8jac3XNxz5TUsBD11Ejs8e1PF-1Mp-HHYqkrNTI