When warning is a string, type is the name to use for the type of warning being emitted.
warning
string
type