errorCode property Null safety

int errorCode
final

Raw code of the error from the respective platform.

On Android, the error code will be a constant from a WebViewClient and will have a corresponding errorType.

On iOS, the error code will be a constant from NSError.code in Objective-C. See https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ErrorHandlingCocoa/ErrorObjectsDomains/ErrorObjectsDomains.html for more information on error handling on iOS. Some possible error codes can be found at https://developer.apple.com/documentation/webkit/wkerrorcode?language=objc.

Implementation

final int errorCode;