modules/metastore/src/Exception/InvalidJsonException.php
<?php
namespace Drupal\metastore\Exception;
/**
* Exception thrown when metastore item JSON validation failed.
*
* @package Drupal\metastore\Exception
*/
class InvalidJsonException extends MetastoreException {
/**
* {@inheritdoc}
*/
public function httpCode(): int {
return 415;
}
}