<?php
/**
 * Paulus - A PHP micro-framework for creating RESTful API services
 *
 * @author		Trevor Suarez (Rican7)
 * @copyright	2013 Trevor Suarez
 * @link		https://github.com/Rican7/Paulus/
 * @license		https://github.com/Rican7/Paulus/blob/master/LICENSE
 * @version		0.9.4
 */

namespace Paulus\Exceptions;

use	\Paulus\Exceptions\Interfaces\ApiException,
	\Paulus\Exceptions\Traits\ApiExceptionBase,
	\InvalidArgumentException;

/**
 * InvalidRequestSyntax 
 *
 * InvalidRequestSyntax Exception 
 * 
 * @uses InvalidArgumentException
 * @uses ApiException
 * @package		Paulus\Exceptions
 */
class InvalidRequestSyntax extends InvalidArgumentException implements ApiException {
	// Use trait
	use ApiExceptionBase;

	// Define unique properties
	protected $code = 400;
	protected $slug = 'INVALID_REQUEST_SYNTAX';
	protected $message = 'The posted request\'s syntax is invalid';

} // End class InvalidRequestSyntax

Create a new exception class for bad request syntax (bad JSON data, etc)
Create a new exception class for bad request syntax (bad JSON data, etc)
