When i try to create a custom exception that implements GraphQLError cause an Accidental Override in the getMessage error in Kotlin It's cause because the interface GraphQLError have a method called getMessage(), and the class Throwable also have the same method. So, the custom exceptions need extends of Throwable and implements GraphQLError and this cause a compiler error "Accidental Override"