Echo Writes Code

errors.cpp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "crucible/process/errors.hpp"

namespace crucible::process::errors {
  auto EmptyBacktrace::describe() const -> std::string {
    return "Generated backtrace was empty (call stack may be corrupted)";
  }

  auto EmptyBacktrace::format() const -> std::string {
    return "crucible::process::errors::EmptyBacktrace {}";
  }

  auto MissingDebugInformation::describe() const -> std::string {
    return "Missing debug information";
  }

  auto MissingDebugInformation::format() const -> std::string {
    return "crucible::process::errors::MissingDebugInformation {}";
  }
}