EventCancelError

This error is thrown when an event handler cancels an event (by preventDefault()).

See Event and Exceptions for more information.

message: string

This a description of the event cancelation.

toString(): string

This returns message.