Function juju::action_name [] [src]

pub fn action_name() -> Result<String, JujuError>

Get the name of the currently executing action

Failures

Returns JujuError if the environment variable JUJU_ACTION_NAME does not exist