coldbydefault-portfolio
Preparing search index...
lib/github/service
toGitHubErrorCode
Function toGitHubErrorCode
toGitHubErrorCode
(
error
:
unknown
)
:
"SERVICE_UNAVAILABLE"
|
"RATE_LIMIT_EXCEEDED"
Maps a service failure to one of the bare error codes the UI translates.
Parameters
error
:
unknown
Returns
"SERVICE_UNAVAILABLE"
|
"RATE_LIMIT_EXCEEDED"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
coldbydefault-portfolio
Loading...
Maps a service failure to one of the bare error codes the UI translates.