Blame view

components/Exception.php 400 Bytes
714f42c5   Yarik   Odoo completed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
      
      namespace artbox\odoo\components;
      
      /**
       * Exception represents an exception that is caused by some Odoo-related operations.
       */
      class Exception extends \yii\base\Exception
      {
          /**
           * @return string the user-friendly name of this exception
           */
          public function getName()
          {
              return 'Odoo Exception';
          }
      }