FileError Event
Reports a file access error to the application.
Syntax
public open class DefaultRestserverEventListener : RestserverEventListener { ... public override fun fileError(e: RestserverFileErrorEvent) {} ... } public class RestserverFileErrorEvent { val connectionID: Long val fileName: String? val errorCode: Int }
Remarks
The component uses this event to report a file access errors. FileName and ErrorCode contain the file path and the error code respectively.