Created
November 16, 2015 04:25
-
-
Save DenWav/0de2d73a7e381b47fe07 to your computer and use it in GitHub Desktop.
Duplicate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (e.getMessage()) { | |
case "empty": | |
message = "<html>Please fill in all required fields</html>"; | |
break; | |
case "bad": | |
message = "<html>Please enter author and plugin names as a comma separated list</html>"; | |
break; | |
default: | |
message = "<html>Unknown Error</html>"; | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment