Metadata for triggers

If triggers_result is an Exception other than InvalidRequest, this will result in an AttributeError.