GetDKAN/dkan

View on GitHub
modules/metastore/src/Exception/MetastoreException.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace Drupal\metastore\Exception;

/**
 * Metastore's base exception class.
 *
 * @package Drupal\metastore\Exception
 */
abstract class MetastoreException extends \Exception {

  /**
   * Returns the appropriate http error code.
   *
   * @return int
   *   The http code.
   */
  abstract public function httpCode() : int;

}