Record Class ErrorOutput
java.lang.Object
java.lang.Record
smile.util.ipynb.ErrorOutput
- Record Components:
ename- the exception class name (e.g."NameError").evalue- the exception message / value.traceback- the list of traceback frame strings, each possibly containing ANSI escape sequences for color.
- All Implemented Interfaces:
Output
-
Constructor Summary
ConstructorsConstructorDescriptionErrorOutput(String ename, String evalue, List<String> traceback) Creates an instance of aErrorOutputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionename()Returns the value of theenamerecord component.final booleanIndicates whether some other object is "equal to" this one.evalue()Returns the value of theevaluerecord component.final inthashCode()Returns a hash code value for this object.Returns the output type identifier.final StringtoString()Returns a string representation of this record class.Returns the value of thetracebackrecord component.
-
Constructor Details
-
ErrorOutput
-
-
Method Details
-
outputType
Description copied from interface:OutputReturns the output type identifier.- Specified by:
outputTypein interfaceOutput- Returns:
- one of
"stream","display_data","execute_result", or"error".
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ename
-
evalue
-
traceback
-