A11 TypeScript API - v0.2.1
A11 guides
Python API
C++ internals
Preparing search index...
throwForError
Function throwForError
throwForError
<
T
>
(
val
:
StatusOr
<
T
>
)
:
asserts
val
is
T
Throw a code-specific StatusException if a Status/StatusOr is non-OK.
Type Parameters
T
Parameters
val
:
StatusOr
<
T
>
Returns
asserts
val
is
T
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
A11 guides
Python API
C++ internals
A11 TypeScript API - v0.2.1
Loading...
Throw a code-specific StatusException if a Status/StatusOr is non-OK.