Skip to content

HAMUR_E5357: A content file holds the wrong kind of value

A content file holds the wrong kind of value. Error HAMUR_E5357 belongs to @hamur/content (5301 – 5400).

Message

text
HAMUR_E5357 <shown>: a <name> file holds an object
text
HAMUR_E5357 <shown>: a page file holds an object
text
HAMUR_E5357 <shown>: expected an array or an object of entries

Cause

A file holds a kind of value that its collection does not take, for example an array in a page file.

Fix

Write the value the message names.