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:
parent
8e4f7a4623
commit
c94dce2c29
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user