1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix chromium net error codes (#7180)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2023-02-16 17:51:57 +02:00 committed by GitHub
parent 8e4f7a4623
commit c94dce2c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,10 +27,11 @@ export interface UrlSource {
} }
export type ContentSource = RequireExactlyOne<FileSource & UrlSource>; export type ContentSource = RequireExactlyOne<FileSource & UrlSource>;
// see https://www.electronjs.org/docs/latest/api/session#sessetcertificateverifyprocproc
enum ChromiumNetError { enum ChromiumNetError {
SUCCESS = 0, SUCCESS = 0,
FAILURE = 1, FAILURE = -2,
RESULT_FROM_CHROMIUM, RESULT_FROM_CHROMIUM = -3,
} }
export interface ElectronWindowConfiguration { export interface ElectronWindowConfiguration {