base64_exceptions.cpp 491 B

12345678910111213141516171819202122
  1. //
  2. // $Id$
  3. //
  4. #include<__vic/base64.h>
  5. namespace __vic {
  6. //----------------------------------------------------------------------------
  7. const char *base64::bad_length::what() const noexcept
  8. {
  9. return "Bad BASE64 length";
  10. }
  11. //----------------------------------------------------------------------------
  12. const char *base64::bad_digit::what() const noexcept
  13. {
  14. return "Bad BASE64 digit";
  15. }
  16. //----------------------------------------------------------------------------
  17. } // namespace