–– Pkl Error ––
throwing a message

x | function throws(): nothing = throw("throwing a message")
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
at nothingType#throws (file:///$snippetsDir/input/types/nothingType.pkl)

x | myValue: String = throws()
                      ^^^^^^^^
at nothingType#myValue (file:///$snippetsDir/input/types/nothingType.pkl)

xxx | renderer.renderDocument(value)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at pkl.base#Module.output.text (pkl:base)

xxx | if (renderer is BytesRenderer) renderer.renderDocument(value) else text.encodeToBytes("UTF-8")
                                                                         ^^^^
at pkl.base#Module.output.bytes (pkl:base)
