The valid annotations are [Throws], [GetterThrows], and [SetterThrows], which can all either take no value or be set to MainThread or Workers if the throwing behavior is only happening on main thread or in workers