NAME

Footprintless::CommandRunner::ExecutionException - An exception for failures when executing commands

VERSION

version 1.29

DESCRIPTION

An exception used by Footprintless::CommandRunner to propagate information related to the reason a command execution failed.

CONSTRUCTORS

new($command, $exit_code, $message, $stderr)

Creates a new Footprintless::CommandRunner::ExecutionException with the supplied information.

ATTRIBUTES

get_command()

Returns the command.

get_exit_code()

Returns the exit code.

get_message()

Returns the message.

get_stderr()

Returns the stderr.

get_trace()

Returns the stack trace when the command runner died.

METHODS

exit()

Prints diagnostic information to STDERR then exits with exit code.

to_string()

Returns a string representation of this exception.

AUTHOR

Lucas Theisen <lucastheisen@pastdev.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Lucas Theisen.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

SEE ALSO

Please see those modules/websites for more information related to this module.