Template Function mass::internal::fatalError

Template Function mass::internal::fatalError#

Function Documentation#

template<typename ...T>
void mass::internal::fatalError(logger::format_string<T...> fmt, T&&... args)#

Log an error and immediately throw an exception

Parameters:
  • fmt – the format of the error log

  • args – the arguments to be formatted into the error log