Main
Attributes
- Graph
- Supertypes
- class CommandIOApptrait IOAppclass Objecttrait Matchableclass Any
- Self type
- Main.type
Members list
Value members
Concrete methods
Configures the action to perform when unhandled errors are caught by the runtime. By
default, this simply delegates to cats.effect.std.Console!.printStackTrace. It is safe
to perform any IO
action within this handler; it will not block the progress of the
runtime. With that said, some care should be taken to avoid raising unhandled errors as a
result of handling unhandled errors, since that will result in the obvious chaos.
Configures the action to perform when unhandled errors are caught by the runtime. By
default, this simply delegates to cats.effect.std.Console!.printStackTrace. It is safe
to perform any IO
action within this handler; it will not block the progress of the
runtime. With that said, some care should be taken to avoid raising unhandled errors as a
result of handling unhandled errors, since that will result in the obvious chaos.
Attributes
- Definition Classes
- IOApp
Inherited methods
Attributes
- Inherited from:
- IOApp
The entry point for your application. Will be called by the runtime when the process is
started. If the underlying runtime supports it, any arguments passed to the process will be
made available in the args
parameter. The numeric value within the resulting ExitCode
will be used as the exit code when the process terminates unless terminated exceptionally
or by interrupt.
The entry point for your application. Will be called by the runtime when the process is
started. If the underlying runtime supports it, any arguments passed to the process will be
made available in the args
parameter. The numeric value within the resulting ExitCode
will be used as the exit code when the process terminates unless terminated exceptionally
or by interrupt.
Attributes
- args
The arguments passed to the process, if supported by the underlying runtime. For example,
java com.company.MyApp --foo --bar baz
ornode com-mycompany-fastopt.js --foo --bar baz
would each result inList("--foo", "--bar", "baz")
.- See also:
IOApp.Simple!.run:cats\.effect\.IO[Unit]*
- Definition Classes
- CommandIOApp -> IOApp
- Inherited from:
- CommandIOApp