text: /*
  	Copyright (c) 2018 by Ilya Barykin
  	Released under the MIT License.
  	See the provided LICENSE.TXT file for details.
  */
  
  #include "Error.h"
  
  Error::Error(const char *_text) : error(_text) {}
  
  Error::Error(const QString &_text) : error(_text) {}
  
  Error::Error(const json &obj) {
      error = "Ошибка: \n" + obj.dumpQ(2);
  }
  