mirror of
https://github.com/matrix-construct/construct
synced 2024-08-30 13:25:15 +02:00
ircd:Ⓜ️:vm: Use the proper m::error derived-class construction.
This commit is contained in:
parent
7bc1eee991
commit
56474586a1
1 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ ircd::m::vm::error::error(const fault &code,
|
||||||
args&&... a)
|
args&&... a)
|
||||||
:m::error
|
:m::error
|
||||||
{
|
{
|
||||||
http::NOT_MODIFIED, "M_VM_FAULT", fmt, std::forward<args>(a)...
|
child, http::NOT_MODIFIED, "M_VM_FAULT", fmt, std::forward<args>(a)...
|
||||||
}
|
}
|
||||||
,code
|
,code
|
||||||
{
|
{
|
||||||
|
@ -276,7 +276,7 @@ ircd::m::vm::error::error(const string_view &fmt,
|
||||||
args&&... a)
|
args&&... a)
|
||||||
:m::error
|
:m::error
|
||||||
{
|
{
|
||||||
http::INTERNAL_SERVER_ERROR, "M_VM_FAULT", fmt, std::forward<args>(a)...
|
child, http::INTERNAL_SERVER_ERROR, "M_VM_FAULT", fmt, std::forward<args>(a)...
|
||||||
}
|
}
|
||||||
,code
|
,code
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue