Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data StatementOutput = StatementOutput' {}
- newStatementOutput :: StatementOutput
- statementOutput_data :: Lens' StatementOutput (Maybe StatementOutputData)
- statementOutput_errorName :: Lens' StatementOutput (Maybe Text)
- statementOutput_errorValue :: Lens' StatementOutput (Maybe Text)
- statementOutput_executionCount :: Lens' StatementOutput (Maybe Int)
- statementOutput_status :: Lens' StatementOutput (Maybe StatementState)
- statementOutput_traceback :: Lens' StatementOutput (Maybe [Text])
Documentation
data StatementOutput Source #
The code execution output in JSON format.
See: newStatementOutput
smart constructor.
StatementOutput' | |
|
Instances
newStatementOutput :: StatementOutput Source #
Create a value of StatementOutput
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:data':StatementOutput'
, statementOutput_data
- The code execution output.
$sel:errorName:StatementOutput'
, statementOutput_errorName
- The name of the error in the output.
$sel:errorValue:StatementOutput'
, statementOutput_errorValue
- The error value of the output.
$sel:executionCount:StatementOutput'
, statementOutput_executionCount
- The execution count of the output.
$sel:status:StatementOutput'
, statementOutput_status
- The status of the code execution output.
$sel:traceback:StatementOutput'
, statementOutput_traceback
- The traceback of the output.
statementOutput_data :: Lens' StatementOutput (Maybe StatementOutputData) Source #
The code execution output.
statementOutput_errorName :: Lens' StatementOutput (Maybe Text) Source #
The name of the error in the output.
statementOutput_errorValue :: Lens' StatementOutput (Maybe Text) Source #
The error value of the output.
statementOutput_executionCount :: Lens' StatementOutput (Maybe Int) Source #
The execution count of the output.
statementOutput_status :: Lens' StatementOutput (Maybe StatementState) Source #
The status of the code execution output.
statementOutput_traceback :: Lens' StatementOutput (Maybe [Text]) Source #
The traceback of the output.