FileSystemErrorModule

PackageAxial.FileSystem

Summary

NameSignatureSynopsis
fromExceptionFileSystemError.fromException path errorClassifies an exception raised by a file-system operation.
describeFileSystemError.describe _arg1Formats a human-readable description for a file-system error.

fromException

FileSystemError.fromException path error
Member
Classifies an exception raised by a file-system operation.

Parameters

NameTypeDescription
pathstring option
errorexn

Returns

FileSystemError

describe

FileSystemError.describe _arg1
Member
Formats a human-readable description for a file-system error.

Parameters

NameTypeDescription
_arg1FileSystemError

Returns

string