When the action_type parameter is not provided to the rsyslog resource type, the following incomprehensible error message is produced:
Could not evaluate: unknown error - Matching path expression '$resource' failed
This condition should be caught by the resource type in order to provide a meaningful error message.