type

FileLocErr

src @Js
const class FileLocErr : Err

Exception with a file location

constructors

make

Constructor with message, location, and optional cause

fields

loc

File location

methods

toStr

Return "loc: msg"

Slot Details

loc

src const FileLoc loc

File location

make

src new make(Str msg, FileLoc loc, Err? cause := null)

Constructor with message, location, and optional cause

toStr

src virtual override Str toStr()

Return "loc: msg"