Add `warn` and `error` snippets

Add the following snippets:

warn   -> console.warn();
error  -> console.error();