Warning: session_start(): open(/var/lib/php/sessions/sess_0j5355c5g10i0hp83oki4f82ve, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
abstract sclass Either { bool isA() { false; } bool isB() { false; } A a() { throw _failMe(); } B b() { throw _failMe(); } A aOpt() { null; } B bOpt() { null; } RuntimeException _failMe { fail("Either object is of wrong type: " + shortClassName(value)); } toString { ret "Either" + (isA() ? "A" : "B") + "(" + value + ")"; } } sclass EitherA extends Either { A value; bool isA() { true; } A a() { ret value; } A aOpt() { ret value; } } sclass EitherB extends Either { B value; bool isB() { true; } B b() { ret value; } B bOpt() { ret value; } }