Base64Exception

Exception thrown upon encountering Base64 encoding or decoding errors.

class Base64Exception : Exception {}

Examples

import std.exception : assertThrown;
assertThrown!Base64Exception(Base64.decode("ab|c"));

Meta