1 /**
2  * Модуль содержит слассы ошибок и вспомогательные фунции
3  *
4  * Copyright: (c) 2015-2017, Milofon Project.
5  * License: Subject to the terms of the BSD license, as written in the included LICENSE.txt file.
6  * Author: <m.galanin@milofon.org> Maksim Galanin
7  * Date: 2018-01-24
8  */
9 
10 module dango.service.exception;
11 
12 public
13 {
14     import dango.system.exception;
15 }
16 
17 
18 private
19 {
20     import std.exception : enforceEx;
21 
22     import vibe.core.log : logError;
23 
24     import dango.system.exception : ExceptionMixin;
25 }
26 
27 
28 
29 /**
30  * Исключение транспорта
31  */
32 class TransportException : Exception
33 {
34     mixin ExceptionMixin!();
35 }
36 
37 
38 alias transportEnforce = enforceEx!(TransportException);