abstract class Magiika::Error::Safe
- Magiika::Error::Safe
- Exception
- Reference
- Object
Overview
user-facing, expected and potentially recoverable error
Direct Known Subclasses
- Magiika::Error::ExpectedCharacter
- Magiika::Error::NamingConvention
- Magiika::Error::Type
- Magiika::Error::UndefinedMethod
- Magiika::Error::UndefinedVariable
Defined in:
misc/error.crConstructors
Instance Method Summary
- #position : Merlin::Position?
- #title : String
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
Instance Method Detail
def to_s : String
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.