Class EOerror

java.lang.Object
org.eolang.PhDefault
EOorg.EOeolang.EOerror
All Implemented Interfaces:
Cloneable, Atom, Data, Phi

public final class EOerror extends PhDefault implements Atom
ERROR.

You are NOT supposed to use this object programmatically. It is only used from EO, but not from Java. From Java you just throw ExFailure. It will be properly caught and converted to the error. Again, DON'T USE THIS OBJECT PROGRAMMATICALLY.

Since:
0.22
  • Constructor Details

    • EOerror

      public EOerror()
      Ctor.
  • Method Details

    • lambda

      public Phi lambda()
      Description copied from interface: Atom
      Executes λ function and calculates object.
      Specified by:
      lambda in interface Atom
      Returns:
      Object calculated from λ function.