grappa-py/grappa

View on GitHub
grappa/reporters/reasons.py

Summary

Maintainability
A
0 mins
Test Coverage
# -*- coding: utf-8 -*-
from .base import BaseReporter


class ReasonsReporter(BaseReporter):

    title = 'Reasons'

    def run(self, error):
        return getattr(error, 'reasons', None)