Material design ajax error messages

The material design specifications define the placement and look of error messages related to invalid input on forms as shown below.

enter image description here

I don't see a specification for error messages that may occur after the form is submitted. example: a login form could generate an "invalid username or password error." Any ideas on where such an error message should be placed and what it should look like to adhere to the spec?