mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01: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)
|
||||
: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
|
||||
{
|
||||
|
@ -276,7 +276,7 @@ ircd::m::vm::error::error(const string_view &fmt,
|
|||
args&&... a)
|
||||
: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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue