Completed
Push — master ( cc2b64...3127a8 )
by
unknown
28:00 queued 12:57
created

PatchPricelistNotFoundException::getErrorModel()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Starweb\Api\Generated\Exception;
4
5
class PatchPricelistNotFoundException extends \RuntimeException implements ClientException
6
{
7
    private $errorModel;
8
    public function __construct(\Starweb\Api\Generated\Model\ErrorModel $errorModel)
9
    {
10
        parent::__construct('Entity not found', 404);
11
        $this->errorModel = $errorModel;
12
    }
13
    public function getErrorModel()
14
    {
15
        return $this->errorModel;
16
    }
17
}