Revision 6a062ff9 htools/Ganeti/HTools/Luxi.hs
b/htools/Ganeti/HTools/Luxi.hs | ||
---|---|---|
59 | 59 |
-> JSValue -- ^ The value we try to convert |
60 | 60 |
-> Result a -- ^ The annotated result |
61 | 61 |
genericConvert otype oname oattr = |
62 |
annotateResult (otype ++ " '" ++ oname ++ "', attribute '" ++ |
|
62 |
annotateResult (otype ++ " '" ++ oname ++ |
|
63 |
"', error while reading attribute '" ++ |
|
63 | 64 |
oattr ++ "'") . fromJVal |
64 | 65 |
|
65 | 66 |
-- * Data querying functionality |
Also available in: Unified diff