Skip to content

Modern Fs FsError Path

Paul Squires edited this page Oct 14, 2026 · 4 revisions

Home › Filesystem › Filesystem Library › FsError.Path

FsError.Path

the path the call was operating on. Empty if none.

Syntax

FsError.Path( )

Notes

  • the path the call was operating on. Empty if none.

Examples

#import "std/numeric"
#import "std/fs"
using fs, numeric

dim e as FsError = FsError( FS_NOT_FOUND, 2, "CreateFileW", "missing.txt" )

print e.Path( )              '' missing.txt

'' The path the call was operating on. Empty when the failure had no
'' path -- so it can be printed unconditionally.

Library: Filesystem Library
Category: Filesystem
Documented under: Errors

Clone this wiki locally