setting up good error handling structure.
This commit is contained in:
parent
f796b576e3
commit
b3bd8a0755
7 changed files with 57 additions and 26 deletions
|
|
@ -12,6 +12,8 @@ START_TXT = "Welcome to fiktivkod.org. ...."
|
|||
ABOUT_TXT = "Fiktiv (fiktivkod.org) is ... that started ..."
|
||||
BLOG_TXT = "We at fiktivkod use this blog to tell our stories about happy times and maybe not so happy experience ... "
|
||||
|
||||
|
||||
ERROR_404 = "Oops, something went wrong"
|
||||
ERROR_404 = "The page could not be found"
|
||||
ERROR_404_TXT = "The page you are trying to visit does not exist."
|
||||
ERROR_500 = "Oops, something went wrong"
|
||||
ERROR_500_TXT = "We will look into it as soon as we can."
|
||||
ERROR_TXT_WHAT = "The following went wrong"
|
||||
|
|
@ -12,7 +12,10 @@ START_TXT = "Välkommen till fiktivkod.org. ...."
|
|||
ABOUT_TXT = "Fiktiv (fiktivkod.org) är ... som startade ..."
|
||||
BLOG_TXT = "Här på bloggen delar vi med oss av våra erfarenheter och andra dumheter ... "
|
||||
|
||||
ERROR_404 = "Oops, något blev fel"
|
||||
ERROR_404 = "Sidan kunde inte visas"
|
||||
ERROR_404_TXT = "Sidan du försöker besöka existerar inte."
|
||||
ERROR_500 = "Oops, något blev fel"
|
||||
ERROR_500_TXT = "Vi kollar på detta så fort vi kan."
|
||||
ERROR_TXT_WHAT = "Följande har gått fel"
|
||||
|
||||
class = klass
|
||||
|
|
|
|||
Reference in a new issue