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

fix chromium net error codes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2023-02-16 17:08:57 +02:00
parent 8e4f7a4623
commit 2c3878865f

View File

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