partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

CategoryNotAssignedException.php (360B)


      1 <?php
      2 
      3 namespace PartKeepr\PartBundle\Exceptions;
      4 
      5 use PartKeepr\CoreBundle\Exceptions\TranslatableException;
      6 
      7 /**
      8  * This exception is thrown when a part hasn't got a category assigned.
      9  */
     10 class CategoryNotAssignedException extends TranslatableException
     11 {
     12     public function getMessageKey()
     13     {
     14         return 'The part has no category assigned';
     15     }
     16 }