original_string: public function createProfileFailed(array $errors)
      {
          messages('error', trans('orchestra/foundation::response.db-failed', $errors));
  
          return $this->redirect($this->getRedirectToRegisterPath())->withInput();
      }
code: public function createProfileFailed(array $errors)
      {
          messages('error', trans('orchestra/foundation::response.db-failed', $errors));
  
          return $this->redirect($this->getRedirectToRegisterPath())->withInput();
      }
code_tokens: public function createProfileFailed ( array $ errors ) { messages ( 'error' , trans ( 'orchestra/foundation::response.db-failed' , $ errors ) ) ; return $ this -> redirect ( $ this -> getRedirectToRegisterPath ( ) ) -> withInput ( ) ; }
docstring: Response when create a user failed.
  
  @param  array  $errors
  
  @return mixed
docstring_tokens: Response when create a user failed .