Skip to content

Modern Fs FsError Message

Paul Squires edited this page Oct 19, 2026 · 5 revisions

Home › Filesystem › Filesystem Library › FsError.Message

FsError.Message

Returns a fixed one-line description of the error code.

Syntax

FsError.Message( )

Notes

  • a fixed English one-liner derived from Code( ).

Examples

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

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

print e.Message( )           '' a fixed English one-liner for the CODE

'' Derived from Code( ), NOT from the OS -- so it does not change with
'' the machine's language and is safe to compare in a test. It is not
'' the OS's own message text.

Library: Filesystem Library
Category: Filesystem
Documented under: Errors

Clone this wiki locally