///
module isodi.exceptions;
// TODO rename to exception

import std.exception;


@safe:


/// Any exception thrown in Isodi extends from this one.
abstract class IsodiException : Exception {

    mixin basicExceptionCtors;

}

/// Any exception that occurs while loading packs or textures.
class PackException : Exception {

    mixin basicExceptionCtors;

}

/// Any exception that occurs while loading or exporting tilemaps.
class MapException : Exception {

    mixin basicExceptionCtors;

}