Apparently, dbstop if warning and dbstop if error are independent, and should be called separately. Calling dbstatus shows their status, and they can be toggled independently.
dbstop if warning
dbstop if error
dbstatus