isPermissionError

open fun isPermissionError(@Nullable nativeErrorMessage: String): Boolean

Returns true if the given native document-open error message denotes a permission failure (EACCES/EPERM) rather than a genuinely missing file.

Return

true if the message indicates a permission-related open failure.

Parameters

nativeErrorMessage

The errorString returned by the native document open.