text: #ifndef BECH32M_BECH32M_EXCEPTION_H
  #define BECH32M_BECH32M_EXCEPTION_H
  #include <exception>
  #include <string>
  
  struct Bech32mException : public std::exception {
      std::string cause = "Undefined error";
  
      explicit Bech32mException(const char *_cause) : cause(_cause) {}
      explicit Bech32mException(std::string _cause) : cause(std::move(_cause)) {}
  
      const char *what() const noexcept override { return cause.c_str(); }
  };
  
  #endif // BECH32M_BECH32M_EXCEPTION_H
  