Sat, 21 Aug 2010 15:53:16 +0100
libs/encodings.lua: Throw error when calling unimplemented function
libs/encodings.lua | file | annotate | diff | comparison | revisions |
--- a/libs/encodings.lua Sat Aug 21 15:37:04 2010 +0100 +++ b/libs/encodings.lua Sat Aug 21 15:53:16 2010 +0100 @@ -1,5 +1,10 @@ +local function not_impl() + error("Encoding function not implemented"); +end + module "encodings" stringprep = {}; +base64 = { encode = not_impl, decode = not_impl }; return _M;