public function sendError($message)
    {
        Yii::$app->response->setStatusCode(422, 'Data Validation Failed.');

        return [
            'success' => false,
            'message' => $message,
            'events' => $this->_events,
        ];
    }