mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-09-27 09:23:23 +03:00
[+] maimai user summary
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package ext
|
||||
|
||||
import org.springframework.http.HttpStatus
|
||||
import org.springframework.web.server.ResponseStatusException
|
||||
|
||||
// Make it easier to throw a ResponseStatusException
|
||||
operator fun HttpStatus.invoke(message: String? = null): Nothing = throw ResponseStatusException(this, message ?: this.reasonPhrase)
|
||||
Reference in New Issue
Block a user