public function returnError($status, $message = NULL, $response)
	{
		header('HTTP/1.1 '. $status);
		$this->status = $status;

		if ($message === NULL)
			$this->message = Yii::t('Api.main', 'Failed to set model attributes.');
		else
			$this->message = $message;

		// This is a special condition in Yii. We need to convert it back
		if ($response == false)
			return 'false';

		return $response;
	}