L20n/Features/Expression errors

From MozillaWiki
< L20n‎ | Features
Jump to: navigation, search


Specify the error pattern for L20n expressions.


  • index and expander must return a string or a number
  • if resolving a hash or an array via index or member/attribute expression fails, the expression returns false
  • if an entity requested is not available or does not resolve, return false
  • if an entity does not have a requested value key or an attribute, return false
  • if a call from a developer returns false, return null


  • gandalf - accepted
  • stas - ?
  • pike - ?