code: public static function createFromCurrency($currency, $code = 0, \Exception $prev = null)
      {
          $message = sprintf('Not found prices by currency "%s".', $currency);
  
          return new static($message, $code, $prev);
      }
docs: Create by currency
  
  @param string $currency
  @param int $code
  @param \Exception $prev
  
  @return PricesMapNotFoundException